title: Cannot build C++ projects - "Object of type X cannot be converted to type Y"
body: <p>This is freshly installed Visual Studio 2015 RC on fresh Windows 8.1 install.</p>
  
  <p>When I try to compile anything, even simplest C program, I get the following build error:</p>
  
  <pre><code>1&gt;------ Build started: Project: Project1, Configuration: Debug Win32 ------
  1&gt;Object of type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.StreamReader]' cannot be converted to type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.TextWriter]'.
  1&gt;Error: Object of type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.StreamReader]' cannot be converted to type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.TextWriter]'.
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>Any ideas what's the problem here?</p>
  
  <p>EDIT: Sample code:</p>
  
  <pre><code>int main(int argc, char** argv) {
      return 0;
  }
  </code></pre>