title: Could not load file or assembly Microsoft.VisualStudio.Coverage.Analysis in Visual Studio 2019 16.2
body: <p>I recently installed VS2019 Prof 16.2 and experience following error when loading <code>.coverage</code> files:</p>
  
  <pre><code>Microsoft Visual Studio
  Exception was thrown: Could not load file or assembly 'Microsoft.VisualStudio.Coverage.Analysis,
  Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or
  one of its dependencies. The system cannot find the file specified.
  </code></pre>
  
  <p>I know that usually it meant (for previous VS versions) that you need to run tests first and then load coverage file, but now for 2019 16.2 it doesn't work. However, loading this same coverage file works in VS2017 Community 15.9.14</p>
  
  <p>The <code>Microsoft.VisualStudio.Coverage.Analysis.dll</code> is located in <code>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\TestPlatform</code> and has version <code>16.0.28223.3002</code></p>
  
  <p>Is somebody else experiencing this issue? </p>
  
  <p>A test project configured to reproduce issue can be found on my git <a href="https://github.com/miqm/playground/tree/master/SchedulingApp" rel="noreferrer">https://github.com/miqm/playground/tree/master/SchedulingApp</a><br>
  To generate <code>.coverage</code> I run <code>dotnet test -s Default.runsettings</code> and then I use File -> Open to load it to VS.</p>
  
  <p>I tried to run VS with /logs enabled but nothing meaningful came up. Only logs around the time I tried to open coverage are those:</p>
  
  <pre><code>&lt;entry&gt;
      &lt;record&gt;777&lt;/record&gt;
      &lt;time&gt;2019/08/03 20:48:17.804&lt;/time&gt;
      &lt;type&gt;Information&lt;/type&gt;
      &lt;source&gt;VisualStudio&lt;/source&gt;
      &lt;description&gt;Begin package load [Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage, Microsoft.VisualStudio.QualityTools.TestCaseManagement, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/description&gt;
      &lt;guid&gt;{A9405AE6-9AC6-4F0E-A03F-7AFE45F6FCB7}&lt;/guid&gt;
    &lt;/entry&gt;
    &lt;entry&gt;
      &lt;record&gt;778&lt;/record&gt;
      &lt;time&gt;2019/08/03 20:48:18.097&lt;/time&gt;
      &lt;type&gt;Information&lt;/type&gt;
      &lt;source&gt;VisualStudio&lt;/source&gt;
      &lt;description&gt;Begin package load [Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage, Microsoft.VisualStudio.QualityTools.Tips.TuipPackage, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/description&gt;
      &lt;guid&gt;{52CBD135-1F97-2580-011F-C7CD052E44DE}&lt;/guid&gt;
    &lt;/entry&gt;
    &lt;entry&gt;
      &lt;record&gt;779&lt;/record&gt;
      &lt;time&gt;2019/08/03 20:48:18.152&lt;/time&gt;
      &lt;type&gt;Information&lt;/type&gt;
      &lt;source&gt;VisualStudio&lt;/source&gt;
      &lt;description&gt;End package load [Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage, Microsoft.VisualStudio.QualityTools.Tips.TuipPackage, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/description&gt;
      &lt;guid&gt;{52CBD135-1F97-2580-011F-C7CD052E44DE}&lt;/guid&gt;
    &lt;/entry&gt;
    &lt;entry&gt;
      &lt;record&gt;780&lt;/record&gt;
      &lt;time&gt;2019/08/03 20:48:18.164&lt;/time&gt;
      &lt;type&gt;Information&lt;/type&gt;
      &lt;source&gt;VisualStudio&lt;/source&gt;
      &lt;description&gt;End package load [Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage, Microsoft.VisualStudio.QualityTools.TestCaseManagement, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/description&gt;
      &lt;guid&gt;{A9405AE6-9AC6-4F0E-A03F-7AFE45F6FCB7}&lt;/guid&gt;
    &lt;/entry&gt;
  </code></pre>
  
  <p>Any help appreciated.</p>