Skip to content

Commit 22aa370

Browse files
gavinbarronCopilot
andcommitted
fix: downgrade coverlet packages to 6.0.4 for net6.0 compatibility
coverlet.collector and coverlet.msbuild v8.0.1 only ship build assets for net8.0, causing 'XPlat Code Coverage' data collector not found errors when running tests on the net6.0 test project. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fbe6fd8 commit 22aa370

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
2626
<PackageReference Include="Moq" Version="4.20.72" />
2727
<PackageReference Include="xunit" Version="2.9.3" />
28-
<PackageReference Include="coverlet.collector" Version="8.0.1">
28+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2929
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3030
<PrivateAssets>all</PrivateAssets>
3131
</PackageReference>
32-
<PackageReference Include="coverlet.msbuild" Version="8.0.1">
32+
<PackageReference Include="coverlet.msbuild" Version="6.0.4">
3333
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3434
<PrivateAssets>all</PrivateAssets>
3535
</PackageReference>

0 commit comments

Comments
 (0)