The CLI package is not compatible with DotNet core 3.0
See original GitHub issueThe CLI package is not compatible with DotNet core 3.0.
Because the dotnetTool package.
Severity Code Description Project File Line Suppression State
Error NU1202 Package TypeGen.DotNetCli 2.4.2 is not compatible with netcoreapp3.0 (.NETCoreApp,Version=v3.0). Package TypeGen.DotNetCli 2.4.2 supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2) / any TypegenTest C:\Users\agust\Source\Repos\TypegenTest\TypegenTest\TypegenTest.csproj 1
Severity Code Description Project File Line Suppression State
Error Package 'TypeGen.DotNetCli 2.4.2' has a package type 'DotnetTool' that is not supported by project 'TypegenTest'.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
NETSDK1079: The Microsoft.AspNetCore.All package is ...
All package is not supported when targeting .NET Core 3.0 or higher. ... These packages are listed here: Migrating from Microsoft.
Read more >c# - Error installing dotnet tool package because "it is not ...
dotnet tool install ElectronNET.CLI --version 11.5.1. but I've got error message: error NU1202: Package ElectronNET.CLI 11.5.1 is not ...
Read more >Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >Essential C# 8.0 - Google Books Result
NET Core is not an equivalent feature set to the full Microsoft . ... NET Core runtime, along with tools such as the...
Read more >Install Sitecore Command Line Interface
NET Core installed, you get the following message: RequestResponseshell. Copy. Package sitecore.cli {version} is not compatible with netcoreapp3.1 (.
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
Thanks, I’ll look more into this!
In the meantime, it should be possible to use the current version of TypeGen for .NET Core 3. If you run across any errors, please write here or in a new issue.
Glad I could help 👍
You can still use TypeGen with .NET Core 3 as long as you’re not using features specific to .NET Core 3 inside of the types you’re generating, which right now is probably the vast majority of the cases. If I upgrade, however, this would prevent people who use lower versions of .NET from using the newest TypeGen (and since the stable release of .NET Core 3 was a week ago, I felt that this would still be a lot of people). So just weighting the pros and cons I thought I’ll change the version of TypeGen in like 2-3 weeks so that the majority of people will have had the chance to upgrade by this time, but at the same time until TypeGen is upgraded, people who use .NET Core 3 could still use TypeGen, because they’re most likely not using the latest features inside the types they’re generating.
So at this point I’ll just wait a couple of days until most people have the chance to switch to .NET Core 3 and I’ll upgrade the version 😃 You’re right though that if the upgrade was delayed for too long, this would be bad, because TypeGen is a dev tool and it should allow you to use the latest features.