dotnet command does not honor "globalPackagesFolder" in nuget.config file #39874
Labels
Area-Tools
good first issue
Issues that would be a good fit for someone new to the repository. Narrow in scope, well-defined.
new-hire-issue
Milestone
Describe the bug
I use
globalPackagesFolder
in my nuget.config file to specify a non-default package cache directory. Thedotnet tool restore
command successfully restores the tool package to the specified package cache directory; however, the attempt to run the tool fails due to not able to find the tool package.To Reproduce
dotnet tool restore
command. Below is the output I get:dotnet rpm
command. Below is the output I get:dotnet tool restore
(which restores the tool package to the default package cache directory), thendotnet rpm
will go through. (It will crash due to missing critical arguments, but that is not the concern here.)Further technical details
dotnet --info
VS2022. But the issue is not related to IDE.
The text was updated successfully, but these errors were encountered: