[release/v7.6] Update outdated package references#26471
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.6from Nov 19, 2025
Merged
Conversation
Co-authored-by: Dongbo Wang <dongbow@microsoft.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR backports package reference updates from the main branch to release/v7.6, upgrading the .NET SDK from version 10.0.100-rc.1.25451.107 to 10.0.100-rc.2.25502.107 and updating related package dependencies. It also temporarily disables CodeQL analysis on Linux due to incompatibility with the new SDK version.
Key Changes:
- Updated .NET SDK to 10.0.100-rc.2.25502.107 in global.json
- Updated 40+ package references from rc.1 to rc.2 versions across all .csproj files
- Upgraded test dependencies (XunitXml.TestLogger 7.0.2, Microsoft.NET.Test.Sdk 18.0.0)
- Temporarily disabled CodeQL analysis job in Linux CI workflow
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| global.json | Updated .NET SDK version from 10.0.100-rc.1.25451.107 to rc.2.25502.107 |
| tools/cgmanifest.json | Updated 40+ package versions from 9.0.9 to 9.0.10; moved $schema to top of file; added System.Text.Encoding.CodePages entry |
| test/xUnit/xUnit.tests.csproj | Updated XunitXml.TestLogger to 7.0.2 and Microsoft.NET.Test.Sdk to 18.0.0 |
| test/tools/WebListener/WebListener.csproj | Updated Microsoft.AspNetCore.Mvc.NewtonsoftJson to rc.2.25502.107 |
| test/tools/TestService/TestService.csproj | Updated Microsoft.Windows.Compatibility to rc.2.25502.107 |
| test/tools/TestAlc/nested/Test.Isolated.Nested.csproj | Updated System.CommandLine to rc.2.25502.107 |
| src/System.Management.Automation/System.Management.Automation.csproj | Updated 6 package references to rc.2.25502.107 |
| src/Microsoft.WSMan.Management/Microsoft.WSMan.Management.csproj | Updated System.ServiceProcess.ServiceController to rc.2.25502.107 |
| src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj | Updated 5 package references to rc.2.25502.107 |
| src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj | Updated System.Diagnostics.EventLog to rc.2.25502.107 |
| src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj | Updated Markdig.Signed to 0.43.0 and System.Drawing.Common to rc.2.25502.107; removed System.Threading.AccessControl |
| src/Microsoft.PowerShell.Commands.Management/Microsoft.PowerShell.Commands.Management.csproj | Updated System.ServiceProcess.ServiceController to rc.2.25502.107 |
| src/Microsoft.PowerShell.Commands.Diagnostics/Microsoft.PowerShell.Commands.Diagnostics.csproj | Updated System.Diagnostics.PerformanceCounter to rc.2.25502.107 |
| .github/workflows/linux-ci.yml | Commented out entire CodeQL analyze job and removed it from ready_to_merge dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
|
LGTM |
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.
Backport of #26305 to release/v7.6
Triggered by @TravisEz13 on behalf of @pwshBot
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Updates .NET SDK to 10.0.100-rc.2.25502.107 and related package references so the v7.6 builds use current tooling; also temporarily disables CodeQL analysis on Linux due to incompatibility with .NET SDK 10-rc.2.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified package updates by reviewing global.json and all modified .csproj files for correct version numbers; confirmed CodeQL comment-out matches master branch pattern; smoke-tested local build with updated SDK to ensure compilation succeeds.
Risk
REQUIRED: Check exactly one box.
Package reference updates are routine maintenance but affect all builds. The CodeQL disabling is temporary and isolated to Linux. Testing confirms builds succeed with the new SDK version.
Merge Conflicts
Two files had conflicts during cherry-pick:
.github/workflows/linux-ci.yml
analyzejob is defined later in the file rather than immediately afterxunit_testsanalyzejob block (lines 214-270) with the note "Temporarily disable the CodeQL analysis on Linux as it doesn't work for .NET SDK 10-rc.2"; removed- analyzefromready_to_mergeneeds list (line 232) and replaced with# - analyzetest/xUnit/xUnit.tests.csproj
All conflicts resolved by applying the PR's intent (SDK upgrade + CodeQL disable) while respecting v7.6 branch structure.