Deduplicate results from dotnet workload search version#46069
Deduplicate results from dotnet workload search version#46069Forgind merged 2 commits intodotnet:release/9.0.3xxfrom
Conversation
|
Do we need to care about things like package source mapping at all? |
Hoo, boy, you're trying to scare me 😆 This code is used all over the place, so if we had a bug here, that'd be a Problem. Fortunately, we do account for package source mapping already. WorkloadSearchVersionsCommand calls GetLatestPackageVersions with PackageSourceLocation: null. That means that LoadNuGetSources unconditionally calls LoadDefaultSources. That then initializes Good question, though 🙂 |
These results were reported:
This should deduplicate the returned list.