Current version (0.1.78) does not support netcoreapp2.2 #50

Open
opened 2026-01-29 16:28:07 +00:00 by claunia · 4 comments
Owner

Originally created by @danielmoncada on GitHub (May 1, 2019).

Doing a nuget upgrade, I get the following error:

Error	NU1202	Package dotnet-deb 0.1.78 is not compatible with netcoreapp2.2 (.NETCoreApp,Version=v2.2). Package dotnet-deb 0.1.78 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) 		

Note that version '0.1.70' works just fine

Originally created by @danielmoncada on GitHub (May 1, 2019). Doing a nuget upgrade, I get the following error: ```cs Error NU1202 Package dotnet-deb 0.1.78 is not compatible with netcoreapp2.2 (.NETCoreApp,Version=v2.2). Package dotnet-deb 0.1.78 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) ``` Note that version '0.1.70' works just fine
claunia added the pending-validation label 2026-01-29 16:28:07 +00:00
Author
Owner

@qmfrederik commented on GitHub (May 2, 2019):

Sorry about that, dotnet-deb now ships as a .NET Core CLI tool. This means you can remove the reference to dotnet-* from your .csproj file (you do have to keep the reference to Packaging.Targets, though).

Then, do dotnet tool install --global dotnet-deb and run dotnet deb from the command line.

@qmfrederik commented on GitHub (May 2, 2019): Sorry about that, `dotnet-deb` now ships as a .NET Core CLI tool. This means you can remove the reference to `dotnet-*` from your `.csproj` file (you do have to keep the reference to `Packaging.Targets`, though). Then, do `dotnet tool install --global dotnet-deb` and run `dotnet deb` from the command line.
Author
Owner

@danielmoncada commented on GitHub (Jul 2, 2019):

@qmfrederik thanks. Can you run the tool without having to do a 'tool install'?

@danielmoncada commented on GitHub (Jul 2, 2019): @qmfrederik thanks. Can you run the tool without having to do a 'tool install'?
Author
Owner

@qmfrederik commented on GitHub (Dec 5, 2019):

@danielmoncada These tools are .NET Console applications, which do little more than invoking msbuild.

If you have a reference to Packaging.Targets in your project, you can just run msbuild /t:CreateDeb or msbuild /t:CreateRpm.

You can also extract the binary from the NuGet package and deploy it yourself, if that's what you're asking. But you could also do dotnet tool install --tool-path . dotnet-rpm to install the tool in your current working direcctory.

Is there a specific reason you don't want to use dotnet tool?

@qmfrederik commented on GitHub (Dec 5, 2019): @danielmoncada These tools are .NET Console applications, which do little more than invoking msbuild. If you have a reference to Packaging.Targets in your project, you can just run `msbuild /t:CreateDeb` or `msbuild /t:CreateRpm`. You can also extract the binary from the NuGet package and deploy it yourself, if that's what you're asking. But you could also do `dotnet tool install --tool-path . dotnet-rpm` to install the tool in your current working direcctory. Is there a specific reason you don't want to use `dotnet tool`?
Author
Owner

@danielmoncada commented on GitHub (Feb 15, 2020):

@qmfrederik sorry for the late reply.

We are currently using CakeBuild to provide a custom build on our production server (without having to bother SCM for a new configuration). That way, if we want to configure or change the build process, we can just change our CakeBuild script.

dotnet tool means we will need to change the build server dependencies and not have as much control.

@danielmoncada commented on GitHub (Feb 15, 2020): @qmfrederik sorry for the late reply. We are currently using CakeBuild to provide a custom build on our production server (without having to bother SCM for a new configuration). That way, if we want to configure or change the build process, we can just change our CakeBuild script. dotnet tool means we will need to change the build server dependencies and not have as much control.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#50