Skip to content

Conversation

@JL03-Yue
Copy link
Contributor

#9500

Update dotnet tool local install so that it support automatic upgrade, downgrade, and error-throwing behaviors.

If the command doesn't specify version, the latest version is installed. Exit code = 0
If the command specify version 3.0.0 and version 3.0.0 is installed, do nothing. Exit code = 0
If the command specify version 3.0.0 and version 2.0.0 is installed, upgrade to 3.0.0. Exit code = 0
If the command specify version 3.0.0 without --allow-downgrade flag and version 4.0.0 is installed, it throws out an error.
If the command specify version 3.0.0 with--allow-downgrade flag and version 4.0.0 is installed, downgrade to 3.0.0. Exit code = 0

…--allow-downgrade option to all downgrade; add test coverages; combine dotnet tool local update and install
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Aug 31, 2023
@JL03-Yue JL03-Yue closed this Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant