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