title: VS2015: Could not write lines to file "obj\Debug\\TemporaryGeneratedFile
body: <p>Using VS2015 I am compiling some code that worked on VS2013 (on Win8). Now in VS2015 I am getting the following error:</p>
  <blockquote>
  <p>Could not write lines to file
  &quot;obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs&quot;.
  Could not find a part of the path
  'C:\dev\Projects\BAG\Importer\Data\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs'. Data</p>
  </blockquote>
  <p>I have ONLY Visual Studio 2015 installed on a completely clean machine. Targeting Framework 4.6</p>
  <p>I have read some other SO questions that hint to switch off code analysis. I did this as well to no avail.</p>
  <p>How can I proceed to track this error down?</p>