NuGet 5.6 Release Notes
NuGet distribution vehicles:
NuGet version | Available in Visual Studio version | Available in .NET SDK(s) |
---|---|---|
5.6.0 | Visual Studio 2019 version 16.6 | 3.1.3001 |
1Installed with Visual Studio 2019 with .NET Core workload
Summary: What's New in 5.6
- Support prerelease packages with floating versions.
Version="*-*"
,Version="1.*-*"
, and similar float to latest versions, including prerelease versions, within specified range - #912
Issues fixed in this release
Bugs:
nuget push *.nupkg
fails when snupkg does not exist - #8148Pack, and several other code paths, fail dependent on locale. Use RegexOptions.CultureInvariant - #8246
Perf: DG Spec for unloaded project scenarios should not be written in preview restores - #8793
Restore: Improve performance by caching solution dependency graph spec - #9201
PM UI doesn't work for SDK style projects after installing a package with PM Console - #9203
Embedded icon can’t be shown in PM UI with local package feed - depending on / vs \ - #9225
NuGetVersion.TryParseStrict() should return false if it fails to parse - #9255
nuget.exe push
help for-source
, should suggest usage of source name, not source URL - #9265dotnet nuget add package SourceUri
creates bad default package source name - #9277Screen reader doesn't announce "Searching..." message when switching tabs - #9307
Accessibility: Focus-rectangle color is not accessible PM UI tabs in dark theme - #9336
nuget.exe 5.5 fails to restore with MSBuild 14 or below - #9458
Don't log millisecond times in restore messages - #8977
Make IOutputConsole async - #9268
MSBuild version picking works poorly on some non-english cultures - #9322
Missing format default on
dotnet nuget list source
- #9337Perf: RestoreOperationLogger has unnecessary thread affinity - #9288
Automated creation of docs for
dotnet nuget
commands - #9146Default verbosity should not report each project's noop restore - #8792
Support
-DependencyVersion
parameter forNuGet.exe update
, similar to install command - #7694
DCRs: