vb.net - My Wpf Application cannot locate resource 'Mainwindow.xaml' -
I am using vb.net on a vp.net application, I recently ran into a problem .. When building my code, the build is successful but when it comes to running the code, then the system. Io IO Expansion can not detect an exception "Resource View Model / View MODEL / Main Window. XML" XML window viewmodels are located in a folder called Model, so I do not know that the other is coming from ViewModel / ViewModel ... path, then this value does not assume the model / main window. XML? I have tried all possible solutions including cleaning the project, but it does not seem to work.
The only solution seems to work if I start with My problem was solved, when I got my main window Moved to the View folder StartupUri = "ViewModel \ MainWindow.Xaml"
Startup Yuri = "... \ MainWindow.xaml" I suspect that this is the right thing to do.
Startup Yuri = "MainWindow.xaml" to Startup Yuri = "Folder Name / Main Wando. XML"
Comments
Post a Comment