[release/v7.6.6] Update the manifest resource names for the localized resources embedded in satellite assemblies - #27921
Merged
Dongbo Wang (daxian-dbw) merged 5 commits intoSep 1, 2026
Conversation
…ed in satellite assemblies (PowerShell#27756)
Patrick Meinecke (SeeminglyScience)
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
September 1, 2026 01:18
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Patrick Meinecke (SeeminglyScience)
September 1, 2026 01:19
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Backport to release/v7.6.6 that explicitly sets manifest resource names for localized .resx files so the existing ResGen-generated binding types can resolve resources correctly from satellite assemblies (supporting the Native2Native localization pipeline).
Changes:
- Add MSBuild
EmbeddedResourcemetadata updates across affected projects to force consistent localized manifest resource naming. - Add a new Pester validation test for localized resource folder/layout expectations and presence of satellite assemblies.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/powershell/engine/ResourceValidation/LocalizedResource.Tests.ps1 | Adds validations for localized resource folder structure and satellite assembly presence. |
| src/System.Management.Automation/System.Management.Automation.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.WSMan.Management/Microsoft.WSMan.Management.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.Commands.Management/Microsoft.PowerShell.Commands.Management.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.PowerShell.Commands.Diagnostics/Microsoft.PowerShell.Commands.Diagnostics.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.Management.UI.Internal/Microsoft.PowerShell.GraphicalHost.csproj | Forces manifest resource names for localized .resx resources. |
| src/Microsoft.Management.Infrastructure.CimCmdlets/Microsoft.Management.Infrastructure.CimCmdlets.csproj | Forces manifest resource names for localized .resx resources. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Aditya Patwardhan (adityapatwardhan)
approved these changes
Sep 1, 2026
9 tasks
Dongbo Wang (daxian-dbw)
approved these changes
Sep 1, 2026
Dongbo Wang (daxian-dbw)
merged commit Sep 1, 2026
849fd5c
into
PowerShell:release/v7.6.6
38 checks passed
This was referenced Sep 1, 2026
Merged
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 #27756 to release/v7.6.6
Triggered by Patrick Meinecke (@SeeminglyScience) 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
Explicitly defines manifest resource names for localized .resx files embedded in satellite assemblies so the existing C# ResGen-generated binding types can locate them correctly, required for the Native2Native localization pipeline.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Cherry-picked cleanly after #27916 merged (no conflicts). Verified manifest resource name explicit definitions apply to the affected csproj files.
Risk
REQUIRED: Check exactly one box.
Only affects build-time manifest resource naming for satellite assemblies via explicit csproj configuration; no runtime behavior change to shipped code.