Why LINQPad7 doesnot respect nuget configuration file located at `%APPDATA%\Nuget\Nuget.config`?
I wonder why LINQPad does not respect nuget config files located at %appdata%\NuGet\NuGet.Config
.
I think it's ok to use custom configuration files located in %AppData%\LINQPad\NuGetSources.xml
so that you can modify LINQPad's behavior without changing dotnet behavior. But you should not completely abandon nuget's own configuration file.
I believe the correct way to do this should be like this: (Priority from lowest to highest)
P0: LINQPad's nuget manager's default behavior. (Not necessarily nuget.exe's default behavior)
P1: Machine's default global nuget config located at %ProgramFiles(x86)%\NuGet\Config
(According to Microsoft Doc )
P2: User's default nuget config located at %appdata%\NuGet\NuGet.Config
. (According to Microsoft Doc )
P3: LINQPad config located at LINQPad's configuration folder located at %AppData%\LINQPad\NuGetSources.xml
(According to LINQPad doc)
P4: LINQPad Portable's config located at LINQPad's folder (According to LINQPad doc)
P5: Environment variables
Comments
It would make it hard to support. If someone has an issue, they'd have to include P0->P5 in the MRE.