Creative Design & Branding

Convert To CPM

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.

Publisher / source
dotnet/skills (found on skills.sh)
Upstream record
dotnet/skills
Version
Version 2
Published
Publication review
Approved for publication
Content fingerprint
f4620f14e8196bce1e0727fafac4be4722da1854f5e3114595b6d4d6e06a3eb0