question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The CLI package is not compatible with DotNet core 3.0

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jburzynskicommented, Sep 29, 2019

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.

1reaction
jburzynskicommented, Sep 29, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found