Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

dotnet-suggest installation causes errors

$
0
0

I've created a blank .net 7 console project and then I tried to add a nuget package called "dotnet-suggest". But this yields installation errors (see below). Is this a known issue or something? What could be wrong?

Errors are (in this order):

  • Error Package 'dotnet-suggest 1.1.415701' has a package type 'DotnetTool' that is not supported by project 'ConsoleApp1'.
  • Error NU1212 Invalid project-package combination for dotnet-suggest 1.1.415701. DotnetToolReference project style can only contain references of the DotnetTool type ConsoleApp1 [MyPath]\ConsoleApp1.csproj 1
  • Error NU1202 Package dotnet-suggest 1.1.415701 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package dotnet-suggest 1.1.415701 supports: net7.0 (.NETCoreApp,Version=v7.0) / any ConsoleApp1 [MyPath]\ConsoleApp1.csproj 1

The point is that I'm trying to build a console app that is compatible with dotnet-suggests with a command structure similar to dotnet.exe.


Viewing all articles
Browse latest Browse all 3067

Trending Articles