Skip to content

Conversation

@daxian-dbw
Copy link
Member

PR Summary

Fix #26630

Update a few packages to use the right version corresponding to .NET 9.
The 9.0.0 version of those packages were released in November 2024, but we didn't seem to be update them in PowerShell project files before 7.5 release.

PR Checklist

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates several NuGet packages to their .NET 9 compatible versions (9.0.x series) that were released in November 2024 but were not updated before the PowerShell 7.5 release. The update addresses issue #26630.

Key changes:

  • Updates Microsoft.CodeAnalysis.CSharp from 4.11.0 to 4.14.0 in the source generator project
  • Updates System.Reflection.Metadata and System.Text.Encoding.CodePages to version 9.0.11 in multiple projects
  • Updates Microsoft.Bcl.AsyncInterfaces and Microsoft.Extensions.ObjectPool to version 9.0.11

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj Updates Microsoft.CodeAnalysis.CSharp to 4.14.0, and System.Reflection.Metadata and System.Text.Encoding.CodePages to 9.0.11
src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj Updates Microsoft.Bcl.AsyncInterfaces and Microsoft.Extensions.ObjectPool to 9.0.11 for indirect dependency version control
src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj Updates System.Reflection.Metadata to 9.0.11

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jan 8, 2026
@daxian-dbw daxian-dbw requested a review from TravisEz13 January 8, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant