Use coverlet package that doesn't clobber dependencies

This commit is contained in:
ta264 2021-04-26 21:15:41 +01:00 committed by Qstick
commit 7b4b4ef32d
2 changed files with 3 additions and 5 deletions

View file

@ -103,11 +103,8 @@
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
<PackageReference Include="NunitXml.TestLogger" Version="3.0.97" />
</ItemGroup>
<ItemGroup Condition="'$(TestProject)'=='true' and '$(TargetFramework)' == 'net5.0' and '$(DoCoverage)' == 'true'">
<PackageReference Include="coverlet.collector" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<ItemGroup Condition="'$(TestProject)'=='true' and '$(TargetFramework)' == 'net5.0'">
<PackageReference Include="coverlet.collector" Version="3.0.4-preview.27.ge7cb7c3b40" />
</ItemGroup>
<!-- Set up stylecop -->