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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -