Open
Description
opened on Sep 24, 2021
There should be a way to specify a registry. Currently, it seems impossible to avoid searching NuGet.org.
I did the following:
dotnet new console -o app
cd app
dotnet pack
dotnet tool install -g app --add-source bin/Debug
This tool was installed: https://www.nuget.org/packages/app/
That's not what I want. It is entirely reasonable to create local tools that overlap with nuget.org ones. This particular tool doesn't appear to be name squatting, but it is easy to do.
Instead, there should an option like:
dotnet tool install -g app --source bin/Debug
I remember having the conversations on this issue. I don't remember why we chose the approach we did. Perhaps @KathleenDollard or @wli3 remember.
Something to consider for .NET 6.0.200.
Activity