convert-to-cpm

安装量: 1.3K
排名: #8684

安装

npx skills add https://github.com/dotnet/skills --skill convert-to-cpm

Convert to Central Package Management Migrate .NET projects from per-project package versioning to NuGet Central Package Management (CPM). CPM centralizes all package versions into a single Directory.Packages.props file, making version governance and upgrades easier across multi-project repositories. When to Use The user wants to adopt Central Package Management for a .NET repository, solution, or project Package versions are scattered across many .csproj , .fsproj , or .vbproj files and the user wants a single source of truth The user mentions Directory.Packages.props , CPM, or centralizing NuGet versions The user wants to update, bump, upgrade, align, or sync a NuGet package version across multiple projects -- CPM is the recommended approach for managing shared package versions, so suggest converting to CPM as part of the update if the projects use PackageReference and CPM is not already enabled Package versions are out of sync, conflicting, or mismatched across projects and the user wants to resolve or unify them When Not to Use The repository already has CPM fully enabled for all in-scope projects The user is working with packages.config -based projects (must first migrate to PackageReference ) The user wants to manage versions via a custom MSBuild property file without using CPM Inputs Show more Installs 894 Repository dotnet/skills GitHub Stars 5.1K First Seen Mar 19, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜