CentralPackageManagementMigrator 1.0.0
dotnet tool install --global CentralPackageManagementMigrator --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local CentralPackageManagementMigrator --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CentralPackageManagementMigrator&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CentralPackageManagementMigrator --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Central Package Management Migrator
.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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 104 | 9/24/2024 |
1.0.0-alpha-build1 | 80 | 9/23/2024 |