PackageUpdate 4.4.0

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

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
  • Updates VersionOverride entries in projects independently of the central version
  • Updates local dotnet tools in dotnet-tools.json manifests
  • 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" />

Add "pinned": true to prevent a dotnet tool from being updated:

"dotnet-ef": {
  "version": "8.0.0",
  "commands": [
    "dotnet-ef"
  ],
  "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.4.0 92 7/21/2026
4.3.0 100 7/18/2026
4.2.0 155 4/11/2026
4.1.7 129 4/9/2026
4.1.6 117 4/9/2026
4.1.5 137 3/23/2026
4.1.4 143 2/17/2026
4.1.3 125 2/17/2026
4.1.2 135 2/2/2026
4.1.1 127 2/2/2026
4.1.0 128 2/2/2026
4.0.5 328 12/19/2025
4.0.4 298 12/18/2025
4.0.3 304 12/18/2025
4.0.2 306 12/18/2025
4.0.1 232 12/5/2025
4.0.0 222 12/4/2025
4.0.0-beta.2 643 12/2/2025
4.0.0-beta.1 650 12/2/2025
3.11.1 215 10/10/2025
Loading failed