Skip to content

Commit 6a6fce2

Browse files
authored
Merge pull request #399 from tonyhallett/update-ms-code-coverage-zip
Update ms code coverage zip
2 parents e4ffb5d + 2b60c2e commit 6a6fce2

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

FineCodeCoverage/FineCodeCoverage.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@
101101
<Link>Resources\OutputToolWindowCommand.png</Link>
102102
<IncludeInVSIX>true</IncludeInVSIX>
103103
</Content>
104-
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.1.0.zip">
105-
<Link>ZippedTools\microsoft.codecoverage.17.1.0.zip</Link>
106-
<IncludeInVSIX>true</IncludeInVSIX>
107-
</Content>
108104
<Content Include="..\Shared Files\ZippedTools\microsoft.testplatform.16.9.1.zip">
109105
<Link>ZippedTools\microsoft.testplatform.16.9.1.zip</Link>
110106
<IncludeInVSIX>true</IncludeInVSIX>
@@ -125,6 +121,10 @@
125121
<Link>ZippedTools\reportGenerator.4.7.4.zip</Link>
126122
<IncludeInVSIX>true</IncludeInVSIX>
127123
</Content>
124+
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.9.0.zip">
125+
<Link>ZippedTools\microsoft.codecoverage.17.9.0.zip</Link>
126+
<IncludeInVSIX>true</IncludeInVSIX>
127+
</Content>
128128
<!--
129129
<None Include="Key.snk" />
130130
-->

FineCodeCoverage2022/FineCodeCoverage2022.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@
9393
<Link>Resources\LICENSE</Link>
9494
<IncludeInVSIX>true</IncludeInVSIX>
9595
</Content>
96-
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.1.0.zip">
97-
<Link>ZippedTools\microsoft.codecoverage.17.1.0.zip</Link>
98-
<IncludeInVSIX>true</IncludeInVSIX>
99-
</Content>
10096
<Content Include="..\Shared Files\ZippedTools\coverlet.collector.3.2.0.zip">
10197
<Link>ZippedTools\coverlet.collector.3.2.0.zip</Link>
10298
<IncludeInVSIX>true</IncludeInVSIX>
@@ -109,6 +105,10 @@
109105
<Link>ZippedTools\reportGenerator.4.7.4.zip</Link>
110106
<IncludeInVSIX>true</IncludeInVSIX>
111107
</Content>
108+
<Content Include="..\Shared Files\ZippedTools\microsoft.codecoverage.17.9.0.zip">
109+
<Link>ZippedTools\microsoft.codecoverage.17.9.0.zip</Link>
110+
<IncludeInVSIX>true</IncludeInVSIX>
111+
</Content>
112112
<None Include="source.extension.vsixmanifest">
113113
<SubType>Designer</SubType>
114114
<Generator>VsixManifestGenerator</Generator>

FineCodeCoverageTests/MsCodeCoverage/MsCodeCoverageRunSettingsService_IRunSettingsService_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private string GetFCCMsTestAdapterPath()
134134
.Returns("ZipDestination");
135135

136136
msCodeCoverageRunSettingsService.Initialize(null, null, CancellationToken.None);
137-
return Path.Combine("ZipDestination", "build", "netstandard1.0");
137+
return Path.Combine("ZipDestination", "build", "netstandard2.0");
138138
}
139139

140140
}

FineCodeCoverageTests/MsCodeCoverage/MsCodeCoverageRunSettingsService_IsCollecting_Tests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,13 +510,13 @@ private void VerifyCombinedLogMessage(string message)
510510
private string InitializeFCCMsTestAdapterPath()
511511
{
512512
InitializeZipDestination();
513-
return Path.Combine("ZipDestination", "build", "netstandard1.0");
513+
return Path.Combine("ZipDestination", "build", "netstandard2.0");
514514
}
515515

516516
private string InitializeShimPath()
517517
{
518518
InitializeZipDestination();
519-
return Path.Combine("ZipDestination", "build", "netstandard1.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
519+
return Path.Combine("ZipDestination", "build", "netstandard2.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
520520
}
521521

522522
private void InitializeZipDestination()
-6.98 MB
Binary file not shown.
8.75 MB
Binary file not shown.

SharedProject/Core/MsTestPlatform/CodeCoverage/MsCodeCoverageRunSettingsService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ public void Initialize(string appDataFolder, IFCCEngine fccEngine, CancellationT
112112
{
113113
this.fccEngine = fccEngine;
114114
var zipDestination = toolUnzipper.EnsureUnzipped(appDataFolder, zipDirectoryName,zipPrefix, cancellationToken);
115-
fccMsTestAdapterPath = Path.Combine(zipDestination, "build", "netstandard1.0");
116-
shimPath = Path.Combine(zipDestination, "build", "netstandard1.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
115+
fccMsTestAdapterPath = Path.Combine(zipDestination, "build", "netstandard2.0");
116+
shimPath = Path.Combine(zipDestination, "build", "netstandard2.0", "CodeCoverage", "coreclr", "Microsoft.VisualStudio.CodeCoverage.Shim.dll");
117117
}
118118

119119
#region set up for collection

0 commit comments

Comments
 (0)