Note to self: fixing “cannot locate resource window1.xaml” exception in vanilla WPF project

Visual Studio 2008 Screenshot

I’ve had this problem come up a few times. If I start a new WPF project and delete the default window1.xaml and add in a different starting page I forget to fix App.xaml to reflect the change. That’s the file with the line startupUri=”Window1.xaml” in it.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: