dotnet / cli-lab

A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
MIT License
613 stars 56 forks source link

Running dotnet tool install dotnet-core-uninstall installs "something" #227

Open jjolidon opened 2 years ago

jjolidon commented 2 years ago

Hello all,

Currently if you run dotnet tool install dotnet-core-uninstall, the command will install something which replies "Hello World!" to all commands.

The package is not listed on nuget.org, so I believe it has been somehow unlisted, which brings us to the second issue: is it possible that dotnet tool install installs unlisted packages?

The primary issue I see is in the naming of the ".NET Uninstall Tool" which manages to be misleading in that it is easy to think it is a dotnet tool, but it is not.

To make it more clear that this is not the expected tool, and also not a form of waterhole poisoning, it would be nice to have this unlisted package say something along the lines of "Thank you for downloading the dotnet-core-uninstall tool. Due to technical reasons this tool is now distributed as an msi, available at ."

Even better, dotnet tool install should not install unlisted packages.

baronfel commented 2 years ago

Hello! I believe this is a duplicate of https://github.com/dotnet/sdk/issues/24037. Can you check out that issue and see if that's the case? If so we can close this one.