C
C#3mo ago
Dan

WPF System.IO.IOException: Cannot locate resource 'mainwindow.xaml'.

Running the application crashes, leading to the first screenshot. The application is new and I recreated the MainWindow to try to fix it. In the 2nd and 3rd screenshots you can see that there is nothing in the classes.
No description
No description
No description
8 Replies
clxs
clxs3mo ago
If you right click and properties on MainWindow.xaml, is the ItemType "Page"?
Dan
DanOP3mo ago
Yes it quite is
clxs
clxs3mo ago
Hmm not sure then without being able to dive in more, you will get better answers asking in #gui
Dan
DanOP3mo ago
The project can build
No description
Dan
DanOP3mo ago
yet fails to launch Fixed it
Dan
DanOP3mo ago
No description
canton7
canton73mo ago
$close
MODiX
MODiX3mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?