-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFound:ManualTestsPriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug
Description
NuGet Product Used
Visual Studio Package Management UI
Product Version
VS Main/11322.50 + NuGet Client Dev/7.3.0.48
Worked before?
It is a regression since it reproes on D18.0\11304.174 (Unified Settings ‘Options’ dialog), but doesn’t repro on D16.11\36711.23 (the old ‘Options’ dialog).
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Note:
- Repro rate: 80%.
Repro Steps:
- Create a C# Console App (.NET 10.0) in VS and open the project-level PM UI.
- Make sure you have several package sources in ‘nuget.config’ file under the path ‘C:\Users[UserName]\AppData\Roaming\NuGet’ (as the lines below).
key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"
key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\"
- Click the menu ‘Tools->Options->NuGet Package Manager->Package Source’ and delete all the package sources.
- Close the VS, reload the solution (to avoid meeting the bug 14693), click ‘Tools->Options->NuGet Package Manager->Package Source’ and add several package sources (a local package source & nuget.org in this instance).
- Select a package source (for example: the ‘nuget.org’) in the ‘Package source’ dropdown list and install a package.
- Click ‘Tools->Options->NuGet Package Manager->Package Source’ and make sure the machine-wide package source disabled.
- Go to the PM UI and expand the ‘Package source’ dropdown list to observe.
Expected Result:
No blank line at the bottom of the ‘Package source’ dropdown list.
Actual Result:
There will be a blank line at the bottom of the ‘Package source’ dropdown list as the screenshot below.

Metadata
Metadata
Assignees
Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFound:ManualTestsPriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug