Package coverlet.console 3.0.0 is not compatible with netcoreapp3.1
See original GitHub issueI can’t install coverlet.console 3.0.0 for mcr.microsoft.com/dotnet/core/sdk:3.1 image:
error NU1202: Package coverlet.console 3.0.0 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any. Package coverlet.console 3.0.0 supports: net5.0 (.NETCoreApp,Version=v5.0) / any
Is it expected behavior for a new release?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12
Top Results From Across the Web
Package X is not compatible with netcoreapp3.1
First, clean nuget caches or delete all files under C:\Users\xxx(current user)\.nuget\packages . Then, delete bin and obj folder.
Read more >coverlet.console 6.0.0
Coverlet is a cross platform code coverage tool for .NET, with support for line, branch and method coverage. Product, Versions Compatible and additional ......
Read more >Fixing issue related to Package is not compatible with ...
Fixing issue related to Package is not compatible with netcoreapp2.1, supports netstandard2.0, when using Azure DevOps (VSTS). Tobias Zimmergren.
Read more >Error NU1202. Package is not compatible with ...
I have .NET 6.0.1 installed on the computer, as well 3.1. I tried to create global.json with "sdk": { "version" ...
Read more >NuGet Error NU1100
This is a generic issue for types that are not packages or projects. Solution 1. Open the project file and examine the list...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep we moved .NET Tool to last version. We’ll move .NET tool to last version every time we can. .NET 5.0 is not a LTS(expires in February, 2022) but we’ll move to next one on next releases https://github.com/dotnet/core/blob/master/releases.md
Hello @MarcoRossignoli
I’m also having same issue that I can not use coverlet.console v3 anymore within .net core 3.1 SDK docker image.
What I understand is I can not install coverlet.console while using
mcr.microsoft.com/dotnet/core/sdk:3.1
docker image in the pipeline, and in order to install I need to install .net 5 runtime while running my pipeline insidemcr.microsoft.com/dotnet/core/sdk:3.1
, is this correct ?If that the case then I need to upgrade all projects that uses coverlet.console otherwise it doesn’t make sense install .net 5 runtime while using the 3.1 SDK image.
To give more details, we are using Bitbucket pipelines and my pipeline looks like below
As you can see installing .net 5 runtime doesn’t make sense into container runs with .net core 3.1 SDK.
Could you please consider creating a new coverlet.console V3 package that still supports .net core 3.1 ?
Thanks