Skip to content

How can I restore a single dotnet tool according to the local tool manifest? #49860

@cbersch

Description

@cbersch

We have several dotnet tools defined in the local tool manifest of our repository.
Some of those tools are needed only for specific tasks or pipelines, but I found no way to restore only a single tool to the version defined in the manifest (currently using 9.0.301):

dotnet tool install MyTool.Cli

always does an update, I have no way to skip that.

dotnet tool restore

restores all tools defined in the manifest.

It would be very helpful, if either dotnet tool install had an option to skip updates, or dotnet tool restore had an option to restore only a single tool by its name.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions