This is probably a very simple fix.
- I clicked the form in the Solution Explorer.
- Pressed F2 to rename it. Renamed it "MyForm.xaml". Pressed enter.
- Tried launching the application but I get this error:
Cannot locate resource 'window1.xaml'.
This is probably a very simple fix.
Cannot locate resource 'window1.xaml'.
In App.xaml, there will be a StartupUri="Window1.xaml"
. Change this to StartupUri="MyForm.xaml"
.