MartinCostello.DotNetBumper 0.4.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global MartinCostello.DotNetBumper --version 0.4.1
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 MartinCostello.DotNetBumper --version 0.4.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MartinCostello.DotNetBumper&version=0.4.1
nuke :add-package MartinCostello.DotNetBumper --version 0.4.1

.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.

Product 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
0.6.0 365 4/22/2024
0.5.3 425 4/15/2024
0.5.2 168 4/5/2024
0.5.1 96 4/4/2024
0.5.0 146 4/2/2024
0.4.1 2,953 3/27/2024
0.4.0 174 3/22/2024
0.3.3 165 3/11/2024
0.3.2 124 3/8/2024
0.3.1 85 3/7/2024
0.3.0 126 3/5/2024
0.2.1 219 2/29/2024
0.2.0 160 2/27/2024
0.1.1 148 2/22/2024
0.1.0 1,192 2/20/2024