Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tetsuo13/centralpackagemanagementmigrator
.NET tool that migrates a solution to use NuGet central package management (CPM)
https://github.com/tetsuo13/centralpackagemanagementmigrator
central-package-management cpm dotnet-tool nuget
Last synced: 19 days ago
JSON representation
.NET tool that migrates a solution to use NuGet central package management (CPM)
- Host: GitHub
- URL: https://github.com/tetsuo13/centralpackagemanagementmigrator
- Owner: tetsuo13
- License: mit
- Created: 2024-09-19T00:27:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-03T22:52:14.000Z (about 1 month ago)
- Last Synced: 2025-01-16T14:47:38.427Z (19 days ago)
- Topics: central-package-management, cpm, dotnet-tool, nuget
- Language: C#
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Central Package Management Migrator
[![Continuous integration](https://github.com/tetsuo13/AspNetCore.DataProtection.MySql/actions/workflows/ci.yml/badge.svg)](https://github.com/tetsuo13/AspNetCore.DataProtection.MySql/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![CentralPackageManagementMigrator](https://img.shields.io/nuget/v/CentralPackageManagementMigrator.svg)](https://www.nuget.org/packages/CentralPackageManagementMigrator/).NET tool that migrates a solution to use NuGet [central package management](https://learn.microsoft.com/en-us/nuget/consume-packages/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 Verbosity level of the console logging output. [default: Information]
--version Show version information
-?, -h, --help Show help and usage information
```