title: OmniSharp error loading projects with COMReferences in Visual Studio Code
body: <p>Having issues loading projects in the new Visual Studio Code that work fine in Visual Studio 2013. I was able to load other projects that don't have COMReferences in Visual Studio Code. Using Windows 7 Enterprise.</p>
  
  <p>Relevant snippet from .csproj file:</p>
  
  <pre><code>&lt;ItemGroup&gt;
      &lt;COMReference Include="DTOLib2"&gt;
        &lt;Guid&gt;{DBE2B0CE-6BE9-48FE-8300-6ABE0DB9692B}&lt;/Guid&gt;
        &lt;VersionMajor&gt;1&lt;/VersionMajor&gt;
        &lt;VersionMinor&gt;0&lt;/VersionMinor&gt;
        &lt;Lcid&gt;0&lt;/Lcid&gt;
        &lt;WrapperTool&gt;tlbimp&lt;/WrapperTool&gt;
        &lt;Isolated&gt;False&lt;/Isolated&gt;
        &lt;EmbedInteropTypes&gt;True&lt;/EmbedInteropTypes&gt;
      &lt;/COMReference&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>Relevant snippet from OmniSharp Log:</p>
  
  <blockquote>
    <p>[ERROR:OmniSharp.MSBuild.MSBuildProjectSystem] The
    "ResolveComReference" task could not be instantiated from
    "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a". The domain manager specified by the
    host could not be instantiated.   </p>
    
    <p>[ERROR:OmniSharp.MSBuild.MSBuildProjectSystem] The
    "ResolveComReference" task has been declared or used incorrectly, or
    failed during construction. Check the spelling of the task name and
    the assembly name.</p>
  </blockquote>