-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
NuGet/NuGet.Client
#6523Labels
Area:PackageSourceMappingIssues related to the package source mapping featureIssues related to the package source mapping featureFound:ManualTestsFunctionality:VSOptionsPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:VS.ClientType:Bug
Milestone
Description
NuGet Product Used
Visual Studio Package Management UI
Product Version
Dev\6.11.0.87
Worked before?
It is not regression since it can be reproduced on D17.9\34601.282.
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
- Create a C# Console App (.NET 8.0) project and open the PMC.
- Click the ‘settings’ button on the top of PMC window and click ‘NuGet Package Manager->Package Source Mapping’ tab.
- Click the ‘Add’ button, add several package source mappings and click ‘OK’ button.
- Click the ‘settings’ button on the top of PMC window and click ‘NuGet Package Manager->Package Source Mapping’ tab.
- Select a package source in the ‘Package Source Mappings’ list, click the ‘Remove’ button and click ‘OK’ button.
- Click the ‘settings’ button on the top of PMC window, click ‘NuGet Package Manager->Package Source Mapping’ tab and observe the the ‘Package Source Mappings’ list.
Expected Results:
The removed package source mapping in step5 disappears in the ‘Package Source Mappings’ list.
Actual Result:
The removed package source mapping in step5 still shows in the ‘Package Source Mappings’ list as below record.

Notes:
1.Repro rate: 30%.
2.Removing the source mapping will work at the second time.
3.It is easy to repro at the first operation in ‘Options->NuGet Package Manager->Package Source Mapping’ dialog. If you cannot repro anymore, please restart your VM and follow the steps above.
Verbose Logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area:PackageSourceMappingIssues related to the package source mapping featureIssues related to the package source mapping featureFound:ManualTestsFunctionality:VSOptionsPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:VS.ClientType:Bug
Type
Fields
Give feedbackNo fields configured for issues without a type.