Update NuGet Packages#6258
Conversation
JohnMcPMS
left a comment
There was a problem hiding this comment.
Things I didn't comment on are probably fine / will have little to no changes required to build. The comments are probably all deserving of their own PR due to the additional changes needed.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Looks like the NUnit change would require moving forward the language from 12 to 14. It also causes some ambiguous Assert.Throws calls. Possibly a transitive effect; appears to introduce a |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I will update this and test again locally once I get home - All the updates had been pworking previously on my machine, so not sure why it's failing here - will investigate |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Given the test failures, I'm going to split this into smaller and more targetted PRs rather than trying to take it all at once, especially since these aren't strictly necessary updates |
📖 Description
Updates NuGet package versions in
src\Directory.Packages.propsto newer supported releases. These updates move the repository onto current package baselines that include accumulated servicing fixes, improve compatibility with newer .NET/runtime toolchains, and reduce long-term maintenance risk from version drift.📦 Packages Updated
18 NuGet package versions were updated:
coverlet.collectorMicrosoft.ApplicationInsightsMicrosoft.AspNet.WebApi.ClientMicrosoft.Extensions.HostingMicrosoft.NET.Test.SdkMicrosoft.PowerShell.SDKMicrosoft.Windows.SDK.ContractsNewtonsoft.JsonnunitNUnit3TestAdapterOctokitSemverSystem.Data.SqlClientSystem.Text.Jsonxunitxunit.runner.visualstudioYamlDotNetWhy This Helps
🔒 Security Improvements
Updated packages include security fixes from:
Microsoft.ApplicationInsights3.1.2 (includes OpenTelemetry security advisory fixes)Microsoft.Extensions.Hosting10.0.8 (carries .NET 10.0.8 servicing releases with security fixes)System.Text.Json10.0.8 (aligned with .NET 10.0.8 servicing)📝 Additional Changes
System.Text.Jsonpackage reference tosrc\WinGetUtilInterop.UnitTests\WinGetUtilInterop.UnitTests.csproj✅ Checklist
📋 Issue Type
Created with copilot assistance