Skip to main content
Any Framework

A .NET Global Tool that upgrades projects to a newer version of .NET.

Published
Jun 28, 2024
2y ago
Total Downloads
35.3K
35,300

Install

dotnet add package MartinCostello.DotNetBumper --version 0.7.1

No framework information available.

README

.NET Bumper β›πŸ“¦β€΄οΈβœ¨

NuGet Build status codecov

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 test to 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

No structural changes between v0.7.0 and v0.7.1.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.