Skip to content
C

convert-to-cpm

Convert .NET projects and solutions

by dotnetFree

#4291in AI Skills
0In stores

Description

Convert to CPM is an agent skill from the dotnet/skills repository that moves .NET projects and solutions (.sln, .slnx) to NuGet Central Pac…

Highlights

  • Converts .sln and .slnx solutions to central package versions
  • Guard mode stops on packages.config projects
  • Package-maintenance mode for version bumps only
  • Before and after evidence for review
  • Restores and builds affected targets

Ratings & Reviews

No ratings yet

Be the first to rate convert-to-cpm.

People also visit

N

nuget-manager

NuGet package management for .NET projects using dotnet CLI

AI Skills
Get
D

dotnet-upgrade

Comprehensive prompts for analyzing, planning

AI Skills
Get
M

migrate-dotnet10-to-dotnet11

Migrate a .NET 10 project or solution to .NET 11

AI Skills
Get
M

migrate-dotnet9-to-dotnet10

Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes

AI Skills
Get
N

.NET MCP Server

AI assistant access to .NET SDK for projects, packages, building, testing

AI Skills
Get
M

msbuild-antipatterns

DO NOT INVOKE when the primary request explicitly asks to convert, migrate

AI Skills
Get

convert-to-cpm FAQ

What is Central Package Management?

A NuGet feature where package versions are declared once in Directory.Packages.props instead of in every project file. This skill converts existing solutions to it.

Will it convert my solution if I only ask to update packages?

No. A request to update, align or bump packages only edits those versions in their current locations. Conversion happens only when you explicitly ask to adopt or convert to CPM.

What if my projects use packages.config?

The skill stops, explains that CPM needs PackageReference, recommends migrating first, and does not change any files.

How do I add this skill to my agent?

Use the skills CLI: `npx skills add https://github.com/dotnet/skills --skill convert-to-cpm`. This pulls the skill from dotnet/skills on GitHub.

What are the best convert-to-cpm alternatives?

Popular alternatives to convert-to-cpm include nuget-manager, dotnet-upgrade and migrate-dotnet10-to-dotnet11. See all convert-to-cpm alternatives

Developer Stuff

Badges