Moving xaml file in solution explorer in WPF MVVM project -
im new mvvm pattern, think question willbe rather easy guys.
i created new wpf project far , added 3 folders(model, view, view model). dragged , dropped mainwindow.xaml file view folder , added button xaml far. @ runtime error cant find "mainwindow.xaml" reference or that. think have set path file somewhere dont know where.
thanks help.
your app.xaml file looking file on application startup.
if using mainwindow.xaml file in same project, change startupuri in app.xaml file "view\mainwindow.xaml" , should resolve issue.
Comments
Post a Comment