Open
Description
NuGet Product(s) Affected
Visual Studio Package Management UI
Current Behavior
PM UI uses feeds which directly query sources for package metadata.
This effectively bypasses Package Source Mapping since it considers all enabled sources.
Desired Behavior
Consider Package Source Mapping sources for services in NuGet.PackageManagement.VisualStudio
.
Ideally, extract the concept to an interface to help with testability across PM UI. Right now, PM UI and services have duplicated logic to call directly into source objects and ask for metadata, making it hard to test.
Additional Context
License Dialog in PM UI was addressed in NuGet/NuGet.Client#5295. While working on this, I discovered the other services which directly interact with package sources.