Skip to content

Publish as .NET Core Global Tool #2067

@bruno-garcia

Description

@bruno-garcia

Last week the .NET Core team released a preview for version 2.1.
With this release the CLI now support what they called: .NET Core Global Tools.

To quote the announcement:

.NET Core tools are .NET Core console apps that are packaged and acquired as NuGet packages. By default, these tools are framework-dependent applications and include all of their NuGet dependencies. This means that a given global tool will run on any operating system or chip architecture by default. You might need an existing tool on a new version of Linux. As long as .NET Core works there, you should be able to run the tool.

It'd look like

dotnet install tool -g cake

I believe #1644 is related but now Global Tools is the way to go.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions