-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DCR]: Adding a new Package Source in VS Options should be immediately available for a Package Source Mapping #12155
Comments
Is this still an issue since #1538 was implemented? |
1538 is for PM UI and 12155 is for the Options dialog. What do you think? |
This issue says that when some setting is changed, customers have to close and reopen the solution. The implementation for #1538 uses a file watcher on the singleton settings, so regardless of what caused the nuget.config file to change, VS should immediately reload the files and therefore any changes should apply to any NuGet VS component that uses that singleton settings instance. Therefore, I would expect that the behaviour described in this issue no longer occurs. |
Not the solution, just the Options dialog. |
I just tested it to make sure I'm not missing something: Options still doesn't pick up a newly added package source. Just to reiterate: This is about the Options dialog, not the PM UI, and the file watcher won't affect the behavior there. Options loads sources from disk once, then writes them after pressing "OK" on the dialog. |
Closing for now as this isn't planned and somehow keeps reappearing on my board. |
NuGet Product(s) Affected
Visual Studio Package Management UI
Current Behavior
As described in discussion on the PR creating a new Package Source Mappings page in VS Options,
NuGet/NuGet.Client#4847 (comment), Package Sources do not commit immediately to a config file. Therefore, a newly added source cannot be immediately used in a mapping, today.
Desired Behavior
A user should be able to add a new source and immediately create a Package Source Mapping for it, without having to press OK and re-open the options.
Additional Context
No response
The text was updated successfully, but these errors were encountered: