[release/v7.6.5] Ship localized resources only for MSIX packages - #27799
Merged
Justin Chung (jshigetomi) merged 2 commits intoAug 10, 2026
Conversation
Dongbo Wang (daxian-dbw)
requested a review
from Justin Chung (jshigetomi)
as a code owner
August 10, 2026 17:58
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Backports build/packaging changes to reduce package size by limiting localized satellite assemblies to MSIX packages, adjusting min-size build deployment settings, and trimming unnecessary files from packaged outputs.
Changes:
- Update
Start-PSBuildto suppress satellite assembly generation for most builds unless explicitly forced, and mark min-size builds to skip ReadyToRun. - Update packaging flow to (a) remove
.xmldocs during signed-build folder preparation and (b) strip any remaining localized resource folders from ZIP packages forwin-{x64,x86,arm64}builds. - Expand MSIX manifest resource language declarations to match the set of supported localizations.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/packaging/packaging.psm1 | Packaging refactor: ZIP/MSIX behavior changes, resource-folder stripping logic, and signed build folder cleanup updates. |
| build.psm1 | Build updates for localization production defaults and min-size build properties (SelfContained + no R2R). |
| PowerShell.Common.props | MSBuild condition update to disable ReadyToRun when ForMinimalSize=True. |
| assets/AppxManifest.xml | MSIX resource languages expanded beyond en-US. |
| .pipelines/templates/windows-hosted-build.yml | Removes extra blank lines (format-only change). |
Suppressed comments (1)
tools/packaging/packaging.psm1:2532
- Typo in comment: "pacakge" should be "package".
# The 'win-x64/x86/arm64' builds contain localized resources, but we ship localized resources for MSIX pacakge only.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Justin Chung (jshigetomi)
approved these changes
Aug 10, 2026
Justin Chung (jshigetomi)
enabled auto-merge (squash)
August 10, 2026 18:14
Justin Chung (jshigetomi)
merged commit Aug 10, 2026
82f53ec
into
PowerShell:release/v7.6.5
38 checks passed
4 tasks
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 #27725 to release/v7.6.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
Backports build/packaging changes that ship localized resources (satellite assemblies) only for MSIX packages, fix min-size build to use SelfContained deployment, and remove .xml files from packaging. Reduces package size by ~35mb.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified via binary build and package build pipelines in the original PR. Backport cherry-pick applied cleanly after conflict resolution in tools/packaging/packaging.psm1.
Risk
REQUIRED: Check exactly one box.
Changes to build and packaging scripts are well-scoped. The packaging logic changes are substantial but self-contained; the risk is medium due to the breadth of packaging.psm1 changes.
Merge Conflicts
tools/packaging/packaging.psm1 had conflicts due to divergence between master and release/v7.6.5; manually resolved.