Convert To Cpm

dotnet/skills/plugins/dotnet-nuget/skills/convert-to-cpm

作者 dotnet0608d8924cd3MIT5.5K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
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

來源與署名

來源:dotnet/skills位於plugins/dotnet-nuget/skills/convert-to-cpm提交0608d89

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架