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.

bouclem 7a419c1 6 files · 30.8 KB Updated 7 repo stars

File contents

bouclem/skills/tree/main/SKILLS/LANGUAGES/CSHARP/001-convert-to-cpm commit 7a419c1987

Frequently asked questions

npx skillmds@latest add bouclem/convert-to-cpm