Skip to content

[browser][coreCLR] Net12 breaking changes vs Mono #137891

Open

Description

@pavelsavara
  • PR 137531 - CoreCLR targeting Net12 no longer uses fetch SRI by default; opt in via WasmEnableIntegrityCheck. HTML and import-map SRI are unchanged.
  • PR 137381 - Pending: TZDIR will be ignored by both Mono and CoreCLR browser apps; use WasmCustomTimezoneDataDirectory to embed custom data when relinking.
  • Tracking 68162 - Browser CoreCLR in Net12 doesn't have even experimental support for multi-threading.
  • PR 122799, PR 129851 - applications require SIMD and final, exnref-based EH support in the browser; WasmEnableSIMD=false and WasmEnableExceptionHandling=false are not supported on CoreCLR.
  • PR 122646 - dotnet.run() keeps CoreCLR alive after Main returns, unlike Mono; use runMain() or runMainAndExit() explicitly.
  • PR 126087 - setEnvironmentVariable() is removed on CoreCLR and deprecated on Mono; configure variables before startup via withEnvironmentVariable() or withEnvironmentVariables().
  • PR 122886 - CoreCLR doesn't support the remoteSources asset fallback list; implement custom asset routing and fallback via withResourceLoader().
  • PR 133705 - CoreCLR has no legacy default createDotnetRuntime export or withRuntimeOptions() implementation; use the named dotnet export and CoreCLR configuration.
  • PR 127084 - the public TypeScript configuration type is LoaderConfig on CoreCLR instead of Mono's MonoConfig.
  • PR 134826 - CoreCLR cannot generate native callback thunks for ordinary managed delegates, so Marshal.GetFunctionPointerForDelegate throws; use static [UnmanagedCallersOnly] callbacks where possible.
  • PR 135018, PR 133378 - RunAOTCompilation=true doesn't select managed AOT on CoreCLR; use PublishReadyToRun=true
  • PR 134312 - CoreCLR WebCIL wrapper version 2 is incompatible with Mono's version 0 and older CoreCLR wrappers
  • PR 130784 - CoreCLR ignores resources.coreVfs because runtime configuration is embedded; use WasmFilesToIncludeInFileSystem for application files.
  • PR 136971 - browser publishing disables stack-trace source file/line lookup by default, including Debug publish; CoreCLR apps must opt in via StackTraceLineNumberSupport=true and publish PDBs.
  • PR 136486 - CoreCLR apps opting into PublishReadyToRun=true now publish composite R2R by default; set PublishReadyToRunComposite=false to retain per-assembly output.
  • PR 125645 - Mono and CoreCLR no longer support WasmInlineBootConfig or WasmBootConfigFileName, and withConfigSrc() is a deprecated no-op; use embedded boot configuration.
  • PR 134642 - CoreCLR DotnetModuleConfig declarations no longer expose onConfigLoaded, onDotnetReady, or onDownloadResourceProgress; use builder hooks or initializers.

Activity

  1. added this to the 12.0.0 milestone on Nov 19, 2026
  2. self-assigned this
    on Nov 19, 2026
  3. added
    arch-wasm
    os-browser
    on Nov 19, 2026
  4. dotnet-policy-service commented on Nov 19, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  5. changed the title [-][browser][coreCLR] Net12 breaking changes[/-] [+][browser][coreCLR] Net12 breaking changes vs Mono[/+] on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Hostos-browser

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions