The name ‘InitializeComponent’ does not exist in the current context

If I create a new project in Visual Studio 2010 SP1 and select “WPF Application” and tries to build the generated application, I get the error The name ‘InitializeComponent’ does not exist in the current context. I got a similar error this morning when I tried to build my current project. Yesterday, I had no … Read more