Skip to content

dotnet tool restore should provide warnings if new versions of tool is available #50991

@michael-hawker

Description

@michael-hawker

Is your feature request related to a problem? Please describe.

Our CI stopped working as tool needed an old version of SDK (6), which was removed from VM, but tool was on an old version in our .config/dotnet-tools.json... however a new version of the tool was available which worked as-is, but we didn't know at first that this was an option.

Describe the solution you'd like

It'd be great when running dotnet tool restore that if new versions of tools are available, that a warning is outputted to the console which specifies the latest version number.

Even better if there's a way to auto-update the config to use the latest version of all tools in it locally.

Additional context

Add any other context or screenshots about the feature request here.

microsoft/NativeAOTDependencyHelper#16

Related to #38172

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions