Skip to content

.NET tool that migrates a solution to use NuGet central package management (CPM)

License

Notifications You must be signed in to change notification settings

tetsuo13/CentralPackageManagementMigrator

Repository files navigation

Central Package Management Migrator

Continuous integration License: MIT CentralPackageManagementMigrator

.NET tool that migrates a solution to use NuGet central package management (CPM).

Quick Start

Install the tool globally using the following command:

dotnet tool install --global CentralPackageManagementMigrator

Then change directory to where the solution file is and run the tool with:

centralpackagemanagementmigrator

This will examine all project files recursively, modify them to remove package version references, and create a Directory.packages.props file in the current directory in which the tool was invoked from.

Options

Description:
  Migrates a codebase to use NuGet central package management (CPM)

Usage:
  centralpackagemanagementmigrator [options]

Options:
  -v, --verbosity <Critical|Debug|Error|Information|None|Trace|Warning>  Verbosity level of the console logging output. [default: Information]
  --version                                                              Show version information
  -?, -h, --help                                                         Show help and usage information

About

.NET tool that migrates a solution to use NuGet central package management (CPM)

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •  

Languages