Convert To Cpm

by dotnet0608d8924cd3MIT5.5K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Convert .NET projects and solutions (.sln, .slnx) to NuGet Central Package Management (CPM) using Directory.Packages.props. USE FOR: converting to CPM, centralizing or aligning NuGet package versions across multiple projects, inlining MSBuild version properties from Directory.Build.props into Directory.Packages.props, resolving version conflicts or mismatches across a solution or repository, updating or bumping or syncing package versions across projects. Also activate when packages are out of sync, drifting, or inconsistent -- even without the user mentioning CPM. Provides baseline build capture, version conflict resolution, build validation with binlog comparison, and a structured post-conversion report. DO NOT USE FOR: packages.config projects (must migrate to PackageReference first) or repositories that already have CPM fully enabled.

Instructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
references/audit-complexities.md5.3 KBtext/markdown
references/baseline-comparison.md7.2 KBtext/markdown
references/directory-packages-props.md3.6 KBtext/markdown
references/msbuild-property-handling.md3.5 KBtext/markdown
references/report-template.md3.6 KBtext/markdown
references/validation-and-errors.md3.2 KBtext/markdown
SKILL.md13.9 KBtext/markdown

Source and attribution

Source:dotnet/skillsinplugins/dotnet-nuget/skills/convert-to-cpmat commit0608d89

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal