Skip to content

[release/11.0] Build Site Extension XDT helper as AnyCPU - #70544

Merged
maraf merged 1 commit into
release/11.0from
backport/pr-70519-to-release/11.0
Nov 23, 2026
Merged

maraf merged 1 commit into
release/11.0from
backport/pr-70519-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

[release/11.0] Build Site Extension XDT helper as AnyCPU

Make the XDT helper load across process architectures

Description

Backport of #70519 to release/11.0. The .NET 10 Site Extensions began building in VMR pass 2, where the runtime packages are built with Platform=x86 or Platform=x64 (#61004). The helper inherited that architecture, and a follow-up made the packages use architecture-specific helper outputs (#61233). Set the helper’s PlatformTarget to AnyCPU; keep the runtimes and native components architecture-specific.

Fixes #66203

Customer Impact

On Azure App Service, the x86 .NET 10 Site Extension’s 32-bit-only helper fails to load during its configuration transform with BadImageFormatException. The failed transform prevents the extension from adding its runtime to PATH, which can cause the app to use an older platform runtime and fail to start. This was reproduced on a 32-bit App Service app, and the customer’s logs show the same exception.

Regression?

  • Yes
  • No

The .NET 8 and 9 Site Extension packages contained an AnyCPU helper. The regression was introduced with the .NET 10 VMR build changes.

Risk

  • High
  • Medium
  • Low

Only the managed XDT helper’s architecture target changes. The Site Extension’s architecture-specific runtimes and native components remain unchanged.

Verification

  • Manual (required)
  • Automated

Manual Azure App Service reproduction: the transform failed with the architecture-specific helper and succeeded with the AnyCPU helper. Automated x86 and x64 helper tests pass.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

@PureWeen

Copy link
Copy Markdown
Member

/review

@maraf maraf added the Servicing-approved Shiproom has approved the issue label Nov 20, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed.

@maraf
maraf merged commit 2aa5fbd into release/11.0 Nov 23, 2026
33 checks passed
@maraf
maraf deleted the backport/pr-70519-to-release/11.0 branch November 23, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANCM ignores 10.0.105 Site Extension, falls back to incompatible 10.0.103 native runtime (SDK 10.0.201)

3 participants