[BUG] Coverlet.MSBuild 6.0.1/6.0.2 is not compatible with .NET Core 2.2 #1643
Labels
needs more info
More details are needed
question
This issue is a question
stale
waiting for customer
Waiting for customer action
Describe the bug
Coverlet.MSBuild 6.0.2 is not compatible with .NET Core 2.2, and it causes errors with another package, Newtonsoft.Json
/root/.nuget/packages/coverlet.msbuild/6.0.2/build/coverlet.msbuild.targets(72,5): error : Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
To Reproduce
Just include coverlet.msbuild to any netcoreapp2.2 project
Expected behavior
Do not download incompatible package. The latest compatible net core 2.2 package version is 6.0.0.
Actual behavior
/root/.nuget/packages/coverlet.msbuild/6.0.2/build/coverlet.msbuild.targets(72,5): error : Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
Configuration (please complete the following information):
Please provide more information on your .NET configuration:
* Which coverlet package and version was used?
I am specifying 2.6.0, but it keeps to download not compatible version 6.0.2
* Which version of .NET is the code running on?
net core 2.2
* What OS and version, and what distro if applicable?
Debian GNU/Linux 9 (stretch) from mcr.microsoft.com/dotnet/core/aspnet:2.2 image
* What is the architecture (x64, x86, ARM, ARM64)?
x64
The text was updated successfully, but these errors were encountered: