Skip to content

Commit

Permalink
Merge pull request #399 from tonyhallett/update-ms-code-coverage-zip
Browse files Browse the repository at this point in the history
Update ms code coverage zip
  • Loading branch information
tonyhallett committed Mar 8, 2024
2 parents e4ffb5d + 2b60c2e commit 6a6fce2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions FineCodeCoverage/FineCodeCoverage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@
<Link>Resources\OutputToolWindowCommand.png</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.1.0.zip">
<Link>ZippedTools\microsoft.codecoverage.17.1.0.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\microsoft.testplatform.16.9.1.zip">
<Link>ZippedTools\microsoft.testplatform.16.9.1.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
Expand All @@ -125,6 +121,10 @@
<Link>ZippedTools\reportGenerator.4.7.4.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.9.0.zip">
<Link>ZippedTools\microsoft.codecoverage.17.9.0.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<!--
<None Include="Key.snk" />
-->
Expand Down
8 changes: 4 additions & 4 deletions FineCodeCoverage2022/FineCodeCoverage2022.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@
<Link>Resources\LICENSE</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.1.0.zip">
<Link>ZippedTools\microsoft.codecoverage.17.1.0.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\coverlet.collector.3.2.0.zip">
<Link>ZippedTools\coverlet.collector.3.2.0.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
Expand All @@ -109,6 +105,10 @@
<Link>ZippedTools\reportGenerator.4.7.4.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.9.0.zip">
<Link>ZippedTools\microsoft.codecoverage.17.9.0.zip</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
<Generator>VsixManifestGenerator</Generator>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private string GetFCCMsTestAdapterPath()
.Returns("ZipDestination");

msCodeCoverageRunSettingsService.Initialize(null, null, CancellationToken.None);
return Path.Combine("ZipDestination", "build", "netstandard1.0");
return Path.Combine("ZipDestination", "build", "netstandard2.0");
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,13 @@ private void VerifyCombinedLogMessage(string message)
private string InitializeFCCMsTestAdapterPath()
{
InitializeZipDestination();
return Path.Combine("ZipDestination", "build", "netstandard1.0");
return Path.Combine("ZipDestination", "build", "netstandard2.0");
}

private string InitializeShimPath()
{
InitializeZipDestination();
return Path.Combine("ZipDestination", "build", "netstandard1.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
return Path.Combine("ZipDestination", "build", "netstandard2.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
}

private void InitializeZipDestination()
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ public void Initialize(string appDataFolder, IFCCEngine fccEngine, CancellationT
{
this.fccEngine = fccEngine;
var zipDestination = toolUnzipper.EnsureUnzipped(appDataFolder, zipDirectoryName,zipPrefix, cancellationToken);
fccMsTestAdapterPath = Path.Combine(zipDestination, "build", "netstandard1.0");
shimPath = Path.Combine(zipDestination, "build", "netstandard1.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
fccMsTestAdapterPath = Path.Combine(zipDestination, "build", "netstandard2.0");
shimPath = Path.Combine(zipDestination, "build", "netstandard2.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
}

#region set up for collection
Expand Down

0 comments on commit 6a6fce2

Please sign in to comment.