October 2021, Roger H. Jörg
To find where NuGet and PowerShell get there information, I needed to find all occurences of NuGet.Config
on my machine.
I wrote two small classes (FileSearch and FindAllNugetConfigs). The test runs for about one minute and therefore is (to be) excluded from the release build.
Besides occurrences within the source
tree of my local development, the only NuGet.Config on my machine was:
C:\Users\rhjoe\AppData\Roaming\NuGet\NuGet.Config
On windows, this is equivalent to:
%appdata%\NuGet\NuGet.Config