NuGet 6.11 Release Notes
Article 09/30/2024
2 contributors
Feedback
In this article
Summary: What's New in 6.11.1
Summary: What's New in 6.11
NuGet distribution vehicles:
Expand table
1 Installed with Visual Studio 2022 with any .NET workload
Summary: What's New in 6.11.1
Issues fixed in this release
Fix "multiple attempts to download the nupkg have failed" - #13545
List of commits in this release
Summary: What's New in 6.11
Suppress NuGetAudit warnings for specific advisories for PackageReference projects - #13679
Add --allow-insecure-connections
option to dotnet SDK - #13396
Swap authors for owners in Visual Studio Package Manager UI - #12501
[Feature]: add dotnet nuget why to dotnet CLI - #11943
NuGet cannot restore from HTTPS sources that have SSL certificate problems - #4387
MSBuildRestoreUtility.GetRestoreAuditProperties
needs a breaking change to read NuGetAuditSuppress
items - #13313
Issues fixed in this release
IVsNuGetProjectUpdateEvents.ProjectUpdateStarted or ProjectUpdateFinished should only provide a list of files that will get changed. - #13413
dotnet nuget
commands should not output usage information on all errors - #13251
[DCR]: NuGet causes many ArgumentExceptions to be thrown & caught in VS - #11535
Remove .NET Framework TFM from NuGet.CommandLine.XPlat - #8452
PERF: GetPackageInfo allocates by unnecessarily calling GetNupkgMetadataPath - #13556
'dotnet nuget why' crashes when using --framework option - #13547
SignatureUtility.GetCertificates in NuGet.Client can skip calling Dispose on error - #13535
'dotnet nuget why' does not work when a directory is provided for the 'Path' argument - #13527
NuGet IntelliCode Package Suggestions are missing Author in packages list - #13515
Rebuilding in VS causes unnecessary restores - #13505
MSB4181: The "Restore Task" task returned false but did not log an error. - #13460
TaskResultCache incorrectly shares the same lock object for all the keys. - #13448
Calls to CompareTo and Equals should not allocate - #13442
Enable Nullable and throw in KnownOwnerViewModel - #13425
PackageSourceProvider.UpdatePackageSource
doesn't respect a value from disableTLSCertificateValidation
attribute - #13423
PackageSourceProvider.UpdatePackageSource
doesn't respect a value from AllowInsecureConnection
field - #13418
"nuget install -ExcludeVersion" inaccurate reports "already installed" when trying to install older version - #13334
Vulnerability InfoBar remains visible in the Solution Explorer after closing solution - #13055
List of commits in this release
Thank you to all the contributors who helped make this NuGet release awesome!
seclerp
5783 Fix PackageSourceProvider.UpdatePackageSource
doesn't respect a value from DisableTLSCertificateValidation
field
5767 Fix PackageSourceProvider.UpdatePackageSource
doesn't respect a value from AllowInsecureConnection
field
mmitche
5749 Build NuGet from the VMR
5752 Fixup signing support conditional
ToddGrun
5859 Reduce allocations in GetPackageInfo by conditionally calling GetNupkgMetadataPath
omajid
5848 Dispose certificates on failure in SignatureUtility.GetCertificates
SimonCropp
5842 remove redundant .GetTypeInfo()
ryanmolden
5834 Eliminate first-chance ArgumentExceptions when querying a legacy project for properties that don't exist via DTE
hickford
5743 Correct message in the case that a higher version of package is already installed
ViktorHofer
5764 Use .NET SDK sourcelink integration
NikolaMilosavljevic
5738 Disable CA2022 errors
jv42
5717 Fixed NullReferenceException in ResolverComparer