Repository navigation
[release/v7.5] Fix build to only enable ready-to-run for the Release configuration - #26798
Merged
Dongbo Wang (daxian-dbw) merged 1 commit intoFeb 12, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backport to release/v7.5 that prevents ReadyToRun from being enabled for non-Release builds, restoring the ability to debug Debug builds while keeping ReadyToRun enabled for Release packaging scenarios.
Changes:
- Restricts
PublishReadyToRun/PublishReadyToRunEmitSymbolstoReleaseconfiguration forFxDependentDeployment. - Restricts
PublishReadyToRun/PublishReadyToRunEmitSymbolstoReleaseconfiguration forSelfContained.
Travis Plunk (TravisEz13)
approved these changes
Feb 12, 2026
Dongbo Wang (daxian-dbw)
merged commit Feb 12, 2026
487acc5
into
PowerShell:release/v7.5
40 of 42 checks passed
Dongbo Wang (daxian-dbw)
deleted the
backport/release/v7.5/26290-b0507ca4c
branch
February 12, 2026 23:28
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 #26290 to release/v7.5
Triggered by Dongbo Wang (@daxian-dbw) on behalf of Dongbo Wang (@daxian-dbw)
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
This fix is required for developers to be able to debug PowerShell code. Without this fix, Debug builds incorrectly enable ready-to-run which prevents proper debugging.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified that Debug builds can be debugged and Release builds correctly enable ready-to-run. Already validated in master, 7.4, and 7.6 branches.
Risk
REQUIRED: Check exactly one box.
This is a build configuration change that prevents ready-to-run from being enabled in Debug configuration, making debugging possible. The change has been tested in master and already backported to 7.4 and 7.6.