cli-lab icon indicating copy to clipboard operation
cli-lab copied to clipboard

`--all` doesn't work or docs are incorrect

Open RussKie opened this issue 3 years ago • 2 comments

>dotnet-core-uninstall --version
1.5.255402+e07a3c995ec2d3cf449d37eb50c87e180da12544

If I read the help correctly, --all is supposed to remove everything:

Usage:
  dotnet-core-uninstall remove [options] [<VERSION>...]

Arguments:
  <VERSION>    The specified version to uninstall. You may list several versions. Response files are supported.

Options:
  --all                          Remove all .NET Core SDKs or Runtimes. (*)
... < snip > ...

... however, when I run it I get the following error:

>dotnet-core-uninstall remove --all
You must specify exactly one of: --aspnet-runtime, --hosting-bundle, --runtime, --sdk.

RussKie avatar Nov 07 '22 01:11 RussKie

Try to put one of these flags before --all For example: dotnet-core-uninstall remove --sdk --all

noti0nS avatar Nov 09 '22 11:11 noti0nS

In my case it worked with dotnet-core-uninstall remove --all --runtime.

It should uninstall with dotnet-core-uninstall remove --all

ElitePheonix2009 avatar Nov 12 '22 05:11 ElitePheonix2009