dotnet-centralise-packages
Installation
SKILL.md
Convert the current .NET solution to use Central Package Management, centralizing all package versions in a single Directory.Packages.props file.
Steps
-
Find the solution file (*.sln) in the current directory
- If no .sln found, warn and stop
-
List all packages (including transitive)
dotnet package list --include-transitive --format json -
Parse JSON output to extract:
- All unique packages across all projects
- Their versions
- Whether each package is direct or transitive
- If same package has different versions, use the highest version