Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NuGet distribution vehicles:
| NuGet version | Available in Visual Studio version | Available in .NET SDK(s) |
|---|---|---|
| 8.0.0 | Visual Studio 2026 version 18.12.0 | 11.0.1001 |
1 Installed with Visual Studio 2026 with any .NET workload
Summary: What's New in 8.0.0
Add
dotnet nuget stage pushto upload packages and symbols to a staging service - #15083Review package supply-chain security with Copilot from the Visual Studio Error List - #15049
Record filtered analyzer assets in
project.assets.jsonwith opt-inRestoreEnableAnalyzerAssetsfor .NET 11+ projects - #6279
Breaking changes
Add nullable annotations to the following libraries, which can introduce compiler warnings or errors in consuming projects:
Replace the .NET 8 target with .NET 10 in NuGet client libraries. Retain the .NET Framework 4.7.2 target - #15062
Warn with NU5052 for non-standard package IDs in the following pack flows:
Issues fixed in this release
Add
NuGet.ProtocolAPIs for package staging resources - #15084Warn when
dotnet package adduses a non-standard package ID - #15076Remove the
NUGET_DISABLE_PACKAGEID_VALIDATIONescape hatch in .NET 11 - #14485Show vulnerability indicators for top-level packages when the selected feed is not NuGet.org - #13051
Continue listing supported projects when a solution contains unsupported Docker Compose projects. The command still returns exit code 1 - #12520
Prevent a null-reference error when updating a package source with
dotnet nuget update source- #15094Preserve no-op restore on Windows when project paths differ only in letter case - #15081
Fix package-reference read errors when listing packages after
dotnet package add- #15079Prevent a null-reference error when opening Package Manager for solutions with many projects - #15073
Prevent an endless Package Manager refresh loop when updating packages with Central Package Management - #15072
Include audit-source vulnerability data in the Package Manager version list - #15071
Make deterministic package timestamps opt-in again to preserve existing
PreserveNewestbehavior - #15050Report NU1020 when minimum publish age restrictions apply to floating versions during restore - #15035
Configure package-source minimum publish ages and package exceptions in Visual Studio settings - #15032
Configure minimum publish ages with
--min-publish-age-hoursindotnet nuget add sourceanddotnet nuget update source- #15031Respect configured minimum publish ages when
dotnet package addselects the latest package version - #15028Respect configured minimum publish ages in
dotnet package update, including updates for vulnerable packages - #15027Add
nuget.configsettings andNuGet.ConfigurationAPIs for minimum publish ages and package exceptions - #15026Close the Clear NuGet Local Resources window with the Esc key - #15020
Use the .NET SDK root to locate certificate bundles in Native AOT applications - #14980
Fix restore failures when a Visual Studio build starts immediately after opening a solution - #14927
Request package-source credentials instead of proxy credentials when a package source requires authentication - #14791
Avoid an incorrect Installed-tab vulnerability indicator when the audit source is a local path - #14724
Improve pack output filename calculation when nuspec metadata overrides the package ID or version - #14711
Avoid showing "no packages found" alongside vulnerable packages after opening Package Manager from Solution Explorer - #14648
Preserve vulnerability indicators when merging local and remote package versions - #14253
Show consistent transitive-package vulnerability information in package details and the version list - #14004
Continue listing supported projects when a solution contains unsupported JavaScript
.esprojprojects. The command still returns exit code 1 - #12817Calculate pack output paths correctly when
OutputFileNamesWithoutVersionis enabled - #12644Allow
PackageSourceProvider.UpdatePackageSourceto enable a previously disabled package source - #12008Reduce redundant project evaluations during pack while preserving no-build behavior - #11530
Avoid a deadlock during credential-service initialization when the value factory needs the Visual Studio UI thread - #8248
Support the new Copilot SDK backend for NuGet workflows in Visual Studio while retaining the legacy experience - NuGet/NuGet.Client#7698
List of commits in this release
Community contributions
Thank you to all the contributors who helped make this NuGet release awesome!
- eerhardt
- JasonWeinzierl
- 7671 Continue package-list output after unsupported-project errors without changing the failing exit code
- vaboca
- 7699 Preserve restore no-op for case-equivalent project paths
- sean-mcmanus
- 7681 Avoid deadlock during credential service initialization
- lifengl
- 7676 Remove obsolete UI-thread dependency from credential setup
- agocke
- 7643 Prevent extracted-file descriptors from leaking into child processes on Unix