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