Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DCR]: Central package management package source mapping should only look at configured feeds #11951

Closed
jeffkl opened this issue Jul 7, 2022 · 1 comment · Fixed by NuGet/NuGet.Client#4764
Assignees
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

Comments

@jeffkl
Copy link
Contributor

jeffkl commented Jul 7, 2022

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 confusing

Desired 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

@jeffkl jeffkl added Priority:1 High priority issues that must be resolved in the current sprint. Type:DCR Design Change Request Area:RestoreCPM Central package management Pipeline:Backlog labels Jul 7, 2022
@jeffkl jeffkl self-assigned this Jul 7, 2022
@jeffkl
Copy link
Contributor Author

jeffkl commented Aug 10, 2022

Related to #11822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:RestoreCPM Central package management Priority:1 High priority issues that must be resolved in the current sprint. Type:DCR Design Change Request
Projects
None yet
3 participants