Skip to content

Enable transitive pinning for central package management#6225

Merged
florelis merged 3 commits into
microsoft:masterfrom
florelis:cg
May 13, 2026
Merged

Enable transitive pinning for central package management#6225
florelis merged 3 commits into
microsoft:masterfrom
florelis:cg

Conversation

@florelis
Copy link
Copy Markdown
Member

@florelis florelis commented May 13, 2026

📖 Description

This PR enables transitive pinning for central NuGet package management. This makes the version declared in Directory.Packages.props apply to transitive dependencies, without having to add them as direct dependencies of a project.

This solves a CG alert about System.Security.Cryptography.Xml in AppInstallerCLIE2ETests.csproj.

I'm also removing references that I believe were there only to pin their version with CPM

🔗 References

https://learn.microsoft.com/nuget/consume-packages/central-package-management#transitive-pinning

🔍 Validation

Fully untested because a VS update left me unable to build the project :-)

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task
Microsoft Reviewers: Open in CodeFlow

@florelis florelis requested a review from a team as a code owner May 13, 2026 21:11
@florelis florelis merged commit b0bc0d1 into microsoft:master May 13, 2026
9 checks passed
@florelis florelis deleted the cg branch May 13, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants