PackageUpdate 4.1.7

dotnet tool install --global PackageUpdate --version 4.1.7
                    
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 PackageUpdate --version 4.1.7
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PackageUpdate&version=4.1.7
                    
nuke :add-package PackageUpdate --version 4.1.7
                    

PackageUpdate

A dotnet tool that updates NuGet packages for all solutions in a directory.

Only solutions using Central Package Management (CPM) are supported.

See the full documentation for more details.

Installation

dotnet tool install -g PackageUpdate

Usage

packageupdate C:\Code\TargetDirectory

If no directory is passed the current directory will be used.

Arguments

  • Target Directory: packageupdate -t C:\Code\TargetDirectory
  • Specific Package: packageupdate --package PackageName
  • Build After Update: packageupdate --build

Features

  • Updates all packages across all solutions in a directory
  • Respects Pinned="true" attribute to skip specific packages
  • Automatically migrates deprecated packages to recommended alternatives
  • Preserves file formatting (newlines, indentation)
  • Queries all configured NuGet sources
  • Supports authenticated feeds

Package Version Pinning

Add Pinned="true" to prevent a package from being updated:

<PackageVersion Include="System.ValueTuple" Version="4.5.0" Pinned="true" />

Exclude Solutions

Set the PackageUpdateIgnores environment variable to skip specific directories:

setx PackageUpdateIgnores "AspNetCore,EntityFrameworkCore"
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
4.1.7 38 4/9/2026
4.1.6 32 4/9/2026
4.1.5 105 3/23/2026
4.1.4 110 2/17/2026
4.1.3 94 2/17/2026
4.1.2 99 2/2/2026
4.1.1 99 2/2/2026
4.1.0 96 2/2/2026
4.0.5 304 12/19/2025
4.0.4 276 12/18/2025
4.0.3 279 12/18/2025
4.0.2 275 12/18/2025
4.0.1 206 12/5/2025
4.0.0 200 12/4/2025
4.0.0-beta.2 619 12/2/2025
4.0.0-beta.1 629 12/2/2025
3.11.1 186 10/10/2025
3.11.0 174 10/9/2025
3.10.0 201 12/11/2024
3.9.0 157 12/11/2024
Loading failed