A .NET Global Tool that upgrades projects to a newer version of .NET.
Install
No framework information available.
README
.NET Bumper βπ¦β€΄οΈβ¨
Overview
.NET Bumper is a .NET Global Tool to upgrade projects to a newer version of .NET.
Bumper helps you upgrade your .NET projects to a newer version by taking care of some of the steps required to move from one version to another. Bumper supports upgrading to both Long Term Support (LTS) and Standard Term Support (STS) versions of .NET, and the latest preview versions of .NET. π
Steps the tool can perform on your behalf include:
- Updating the .NET SDK version in
global.jsonπ§βπ» - Upgrading the Target Framework of your project files βοΈ
- Upgrading .NET, ASP.NET Core and EFCore NuGet packages to the appropriate versions π¦
- Updating image tags in Dockerfiles π³
- Running
dotnet testto validate the upgrade π§ͺ
Quick Start
To install the tool and upgrade a .NET 6 or later project to the latest Long Term Support (LTS) version of .NET, run the following command:
dotnet tool install --global MartinCostello.DotNetBumper
dotnet bumper .
Usage
For a full list of options, run dotnet bumper --help.
Pre-requisites
- .NET 8 must be installed to use the tool
- The .NET SDK version to upgrade to must also be installed if this is different
- The dotnet-outdated .NET Global tool must also be installed
- Any project being upgraded must already target at least .NET 6
Feedback
Any feedback or issues for this tool can be added to the issues in GitHub.
License
This project is licensed under the Apache 2.0 license.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.