[DCR]: Central package management package source mapping should only look at configured feeds #11951
Labels
Area:RestoreCPM
Central package management
Priority:1
High priority issues that must be resolved in the current sprint.
Type:DCR
Design Change Request
Milestone
NuGet Product(s) Affected
MSBuild.exe
Current Behavior
Currently CPM looks at all of the feeds that took part of restore. However, the .NET SDK injects local sources which makes CPM think that too many sources are in use and emits a warning about needing to use package source mapping. The tooling (nuget.exe and
dotnet nuget
) do not show these sources so it is confusingDesired Behavior
The package source mapping verification in CPM should only take into account sources that are compatible with package source mapping.
Additional Context
No response
The text was updated successfully, but these errors were encountered: