-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Area-Toolscli-uxIssues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)untriagedRequest triage from a team memberRequest triage from a team member
Description
dotnet tool install dotnet-aspnet-codegenerator@9 today causes the tool installer to look for a package with the literal package Id dotnet-aspnet-codegenerator@9 instead of looking for the most recent stable 9.x version of the dotnet-aspnet-codegenerator package. This is inconsistent with the direction we've been taking other package+version-related commands.
We should ensure that this command (and dotnet tool update) support the package[@version] syntax, and that if that syntax is used the --version flag becomes a validation error.
Copilot
Metadata
Metadata
Labels
Area-Toolscli-uxIssues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)untriagedRequest triage from a team memberRequest triage from a team member