C
C#5mo 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
clxs5mo ago
If you right click and properties on MainWindow.xaml, is the ItemType "Page"?
Dan
DanOP5mo ago
Yes it quite is
clxs
clxs5mo ago
Hmm not sure then without being able to dive in more, you will get better answers asking in #gui
Dan
DanOP5mo ago
The project can build
No description
Dan
DanOP5mo ago
yet fails to launch Fixed it
Dan
DanOP5mo ago
No description
canton7
canton75mo ago
$close
MODiX
MODiX5mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?