Update a few packages to use the right version corresponding to .NET 9#26671
Merged
daxian-dbw merged 3 commits intoPowerShell:release/v7.5from Jan 12, 2026
Merged
Update a few packages to use the right version corresponding to .NET 9#26671daxian-dbw merged 3 commits intoPowerShell:release/v7.5from
daxian-dbw merged 3 commits intoPowerShell:release/v7.5from
Conversation
Closed
5 tasks
Contributor
There was a problem hiding this comment.
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.
....Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
Outdated
Show resolved
Hide resolved
....Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
Outdated
Show resolved
Hide resolved
....Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
Outdated
Show resolved
Hide resolved
TravisEz13
approved these changes
Jan 12, 2026
SeeminglyScience
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Fix #26630
Update a few packages to use the right version corresponding to .NET 9.
The
9.0.0version of those packages were released in November 2024, but we didn't seem to update them in PowerShell project files before 7.5 release.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header