仓库指标
- Star
- (1,459 star)
- PR 合并指标
- (平均合并 464天 23小时) (30 天内合并 1 个 PR)
描述
NuGet product used: NuGet.exe
NuGet version: 4.5.1.4879
OS version: win10 v1709 (16299.192)
nuget.exe help install shows:
-ConfigFile The NuGet configuration file. If not specified, file %AppData%\NuGet\NuGet.config is used as configuration file.
But this help text is very misleading, as by default there are actually multiple Nuget.Config files that might be used. This help text does not mention them, nor that these other files are also skipped if the -ConfigFile option is specified.
Is it somehow possible to not skip them? Specifying -ConfigFile multiple times does not lead to an error, but the additional files seem to be silently ignored.
Is there a way to make nuget print the config files that are used? nuget.exe sources -Verbosity detailed does not show any information about that.
(This all gets very confusing when NuGet is run on a build server as a Windows Service, where %AppData%\NuGet\NuGet.config is actually C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet\NuGet.config, but edits to that file are redirected by Windows and hence ignored by Nuget.)