Scenario:
NuGet package restore using a solution-specific, local nuget.config file.
Details:
- No nuget config present on build server.
- People should be able to stick as much as possible to the default nuget.targets file.
-
Package sources are configured in $(SolutionDir).nuget\nuget.config file.
Expected behavior:
- When no <PackageSource> value has been provided in the nuget.targets file (default is ""), then nuget.exe should use the <activePackageSource> from the hierarchical nuget.config.
-
When no <activePackageSource> has been set, then nuget.exe should fallback on the default nuget.org pkg src.
Actual behavior:
nuget.exe always falls back onto the default nuget.org pkg src, disregarding the <activePackageSource> element in the local nuget.config file.