Package Source Mapping utility always appends package ID #12839
Labels
Area:PackageSourceMapping
Issues related to the package source mapping feature
Functionality:VisualStudioUI
Package Manager UI et al
Product:VS.Client
Type:Bug
Milestone
NuGet Product Used
Visual Studio Package Management UI
Product Version
17.8
Worked before?
No response
Impact
None
Repro Steps & Context
The logic in https://github.com/NuGet/NuGet.Client/blob/a39baac/src/NuGet.Clients/NuGet.PackageManagement.UI/Utility/PackageSourceMappingUtility.cs#L45 always Appends the package ID.
I'm not sure if this causes a problem today, but in a subsequent PR, I want to have an accurate count of newly mapped packages. So, I'd like this to only append package ID if it's not already included.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: