NuGet 5.5 Release Notes

NuGet distribution vehicles:

NuGet version Available in Visual Studio version Available in .NET SDK(s)
5.5.0 Visual Studio 2019 version 16.5 3.1.2001

1Installed with Visual Studio 2019 with .NET Core workload

Summary: What's New in 5.5

  • Improved accessibility and screen reader experience for the NuGet package manager UI in Visual Studio

    • Accessibility issues in Screen Reader experiences, missing altText and accessible name for Installed textbox, etc., - #9059
    • Accessibility issues in Screen Reader experiences in Packages List - #9077
    • Accessibility issues in Screen Reader experiences related to "browse","install","update" Tabs - #9078
    • Narrator does not announce "Blank","No Dependencies","nuget.org","MIT" link label #9157
  • Support for surfacing self-contained icons in Visual Studio package manager UI for packages hosted on local feeds - #8189

  • Significantly improved no-op restore performance using RestoreUseStaticGraphEvaluation which speeds up evaluations by calling MSBuild Static Graph APIs - 8791

  • Improved dotnet.exe reliability with cross-platform authentication plugins

    • dotnet restore failing with TaskCanceledException - #7842
    • Plugin: "A task was cancelled" - problem with ADO authentication due to this. - #8528
  • add dotnet nuget <add|remove|update|disable|enable|list> source command - #4126

  • Suport for --skip-duplicate using dotnet nuget push - #8778

  • Support packages.config with msbuild /restore - #8506

Issues fixed in this release

Bugs

  • Rework Self-Updater with V3 Apis - #4197

  • Wrong package dependency version If package dependency version is set to '*' - #6697

  • ErrorUnsafePackageEntry error message is not pointing to source of problem - #7505

  • Lock file is not honored in "*" scenarios - #8073

  • NuGet.exe does not resolve to the latest version of a package when using * in PackageReference (MSBuild/Dotnet/VS restore do) - #8432

  • dotnet list package with multi targeting WPF project - #8463

  • Improve ConcurrencyUtilities (reduce CPU usage) - #8653

  • DG Spec for unloaded project scenarios should not be written in preview restores - #8793

  • The Visual Studio NuGet packages (RestoreManagerPackage) needs to auto load on solution build events - #8796

  • Deadlock in VSSettings init - #8842

  • VisualStudio ToolBox is not populated from a NuGet package if a project is placed in a solution folder - #8868

  • VS: solution restore perpetually fails due to race condition - #8881

  • Constant "loading.." on installed tab, and "searching <term>.." on updates tab - #8890

  • Missing Embedded Icons in VS PM UI after cache expires - #9069

  • FireAndForget PM UI startup - #9112

  • Restore: IncludeExcludeFiles.Equals(...) implementation is incorrect - #9167

  • Restore: PackageSpec.Clone() creates unequal clone - #9211

  • Error list shown although "Always show Error List if build finishes with errors" is not checked - #8190

  • Static Graph restore should not pass empty SolutionPath - #9061

  • Restore: closure computed for each project 4 times - #9042

  • Restore: DependencyGraphSpec.Load(...) does not need JObject - #9040

  • Restore: large strings created on large object heap (LOH) - #9031

  • Custom nuget.exe on newer mono might break due to the MSBuild SDK Resolver - 8848

  • restore fails when nuget.dgspec.json is "used by another process" - 8692

DCRs

  • Logic in _GetRestoreProjectStyle should be in a task - #8804

  • Add deprecation information by default on the installed tab - #8541

List of all issues fixed in this release - 5.5