You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Browser CoreCLR BuildWasmApps matrix cannot currently run with WasmEnableWebcil=false. Enabling a no-WebCIL permutation causes broad Wasm.Build.Tests failures instead of exercising DLL-resource coverage.
Reproduction Steps
Run the Browser CoreCLR Wasm.Build.Tests matrix with WASM_ENABLE_WEBCIL=false / WasmEnableWebcil=false.
Run tests such as SatelliteLoadingTests.SatelliteAssembliesFromPackageReference, ReadyToRunTests.PublishPartialProfileRunsAllPages, or the Blazor asset-caching tests.
Observe build failures from the WebAssembly SDK.
CI evidence is available in #138114, Azure DevOps build 1694812, Helix work items WBT-NoWebcil-CLR-Wasm.Build.Tests and WBT-NoFingerprint-CLR-Wasm.Build.Tests.
Expected behavior
CoreCLR Wasm.Build.Tests should either support a no-WebCIL matrix permutation and exercise DLL resources, or clearly define which scenarios require WebCIL and provide focused coverage for the supported no-WebCIL scenarios.
Actual behavior
The no-WebCIL permutations fail broadly. Representative errors include:
The resource 'Microsoft.CSharp.wasm' is not recognized as any native asset
PublishReadyToRunComposite for CoreCLR browser-wasm requires WebCIL-in-Wasm assemblies; enable WasmEnableWebcil
Regression?
No. The CoreCLR matrix did not previously create WasmEnableWebcil=false permutations.
Known Workarounds
Keep the CoreCLR BuildWasmApps matrix on its default WebCIL configuration and retain only focused tests that explicitly cover supported WasmEnableWebcil=false behavior.
Configuration
Runtime: CoreCLR
Target OS: browser
Architecture: wasm
Configuration: Release
CI: Azure DevOps build 1694812
Other information
This was identified while reviewing the removal of the Mono-only library-test matrix. The old full WebCIL/DLL permutation was conditioned on RuntimeFlavor == Mono; extending it to CoreCLR exposed the unsupported scenarios.
Activity
dotnet-policy-service commentedon Nov 23, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
pavelsavara commentedon Nov 23, 2026
@maraf we need to decide if we support
WasmEnableWebcil=falseat all for Net12maraf commentedon Nov 23, 2026
AFAIK we already had this discussion and decided to not support webcil=false. Let me know if you see a reason to support it
pavelsavara commentedon Nov 23, 2026
In that case, we need to drop
WasmEnableWebcilfeature and tests, except for compatibility of WASM SDK, right ?