title: The name 'InitializeComponent' does not exist in the current context error after opening WPF project with Visual Studio 2015
body: <p>After opening my WPF .NET 4.5 project in Visual Studio 2015, every view yields the following error in my error view:</p>
  <blockquote>
  <p>Severity  Code    Description Project File    Line</p>
  <p>Error CS0103  The name 'InitializeComponent' does not exist in the current context</p>
  </blockquote>
  <p>However, the project builds just fine and tells me it's got 0 errors. Even with &quot;Warnings as Errors&quot; in my build configuration being enabled.</p>
  <p>ReSharper tells me I should implement missing members <code>Connect</code> and <code>InitializeComponent</code> in my view:</p>
  <p><img src="https://i.stack.imgur.com/2c6We.png" alt="enter image description here" /></p>
  <p>After doing so, the build error went away and method stubs containing <code>throw new NotImplementedExceptions()</code> are being entered, clearly made by R#.</p>
  <p>What should I do with this? Do I need to implement both methods? If yes, how? Is there any documentation about this - what seems to be a - breaking change?</p>