Visual studio extension does not handle disable/enable packages correctly for local nuget.config #3237
Labels
Area:Settings
NuGet.Config and related issues
Product:VS.Client
Resolution:ByDesign
This issue appears to be ByDesign
I have a global nuget.config that disables a package source (
c:\users\myuser\AppData\Roaming\nuget\nuget.config
)Then i have a local nuget.config in my solution folder that also has the same package source defined
This will display the package source as not selected
If I try to check it using the Options dialog in visual studio, and press OK, the choice is not persisted. If I check the local nuget.config, then it has been updated with the disablePackageSource from the parent config file instead.
I can work around the issue by adding a
<clear/>
inside the<disabledPackageSources>
tag.What I would suppose the dialog to do is to make that package source available for me (in my local config) but not in the global one.
The text was updated successfully, but these errors were encountered: