Skip to content

[wasm] Switch between Mono and CoreCLR runtimes#52240

Merged
maraf merged 1 commit intomainfrom
maraf/WasmSdkCoreCLR
Dec 18, 2025
Merged

[wasm] Switch between Mono and CoreCLR runtimes#52240
maraf merged 1 commit intomainfrom
maraf/WasmSdkCoreCLR

Conversation

@maraf
Copy link
Member

@maraf maraf commented Dec 18, 2025

  • Allow to override UseMonoRuntime
  • Add browser-wasm to supported RuntimeIdentifiers for CoreCLR runtime pack

Fixes #51213

@maraf maraf added this to the 11.0.1xx milestone Dec 18, 2025
@maraf maraf requested a review from radekdoulik December 18, 2025 13:02
@maraf maraf self-assigned this Dec 18, 2025
Copilot AI review requested due to automatic review settings December 18, 2025 13:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables switching between Mono and CoreCLR runtimes for WASM projects by making the UseMonoRuntime property overridable and adding browser-wasm to the CoreCLR runtime pack's supported runtime identifiers.

Key Changes:

  • Made UseMonoRuntime property overridable in WasmSdk projects
  • Added browser-wasm RID to the CoreCLR runtime pack's supported identifiers for .NET 11.0

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/WasmSdk/Sdk/Sdk.props Added conditional check to allow overriding the default UseMonoRuntime=true setting
src/Layout/redist/targets/GenerateBundledVersions.targets Added browser-wasm to the Net110RuntimePackRids list to enable CoreCLR runtime pack support for browser WASM

@maraf maraf enabled auto-merge (squash) December 18, 2025 13:20
@maraf maraf disabled auto-merge December 18, 2025 13:21
@maraf maraf enabled auto-merge (squash) December 18, 2025 13:21
@maraf maraf merged commit 83274b5 into main Dec 18, 2025
34 checks passed
@maraf maraf deleted the maraf/WasmSdkCoreCLR branch December 18, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm][coreclr] Support CoreCRL in WebAssembly SDK

3 participants