Description
NuGet Product Used
Visual Studio Package Management UI
Product Version
NuGet Client Dev\6.10.0.20
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
-
Create a C# Console App (.NET Core 8.0) project in VS and open the PM UI or PMC window.
-
Click the settings button (gear button) on PM UI or PMC window.
-
Click the NuGet Package Manager->Package Source Mapping in the opened “Options” window.
-
Click the “Add” button in the “Add New Package Source Mapping” dialog, type the package pattern “Microsoft.*” in the “Package pattern:” text-box, select the “nuget.org” and click “Add” button.
-
Click the “Add” button again, in the “Add New Package Source Mapping” dialog, type the package pattern “microsoft.*” in the “Package pattern:” text-box, select sources “Microsoft Visual Studio Offline Packages” and click “Add” button.
-
Click “OK” button and reopen “Package Source Mapping” in option windows.
Expected:
The package source mappings should be consolidated automatically. The source patterns should not be treated as case-sensitive.
Actual:
This added package source mappings were not consolidated automatically as below:
Notes:
- The repro rate is 100%.
- This is not a regression since it is a new feature.
- The issue doesn’t repro in “Package Sources” node (the newly added package source isn’t case sensitive).
Verbose Logs
No response