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
Context: dotnet/aspnetcore#63970
Context: dotnet/aspnetcore#63970 (comment)
Context: dotnet/aspnetcore#64041
Context: dotnet/aspnetcore#64041 (comment)
Context: dotnet/runtime#120790
Context: dotnet/sdk#51269
.NET 10 RC2 broke WebAssembly, causing apps to crash:
[MONO] * Assertion at /__w/1/s/src/runtime/src/mono/mono/metadata/assembly.c:2718, condition `<disabled>' not met
Error
at Mc (dotnet.runtime.fn94ls2wwa.js:3:172298)
at dotnet.native.ggch313emy.wasm:0xac62
at dotnet.native.ggch313emy.wasm:0x43c51
at dotnet.native.ggch313emy.wasm:0x42301
at dotnet.native.ggch313emy.wasm:0x42422
at dotnet.native.ggch313emy.wasm:0x42465
at dotnet.native.ggch313emy.wasm:0x42438
at dotnet.native.ggch313emy.wasm:0x8cd9
at Module._mono_wasm_load_runtime [as mono_wasm_load_runtime] (dotnet.native.98v1chuo8c.js:8:113231)
at dotnet.runtime.fn94ls2wwa.js:3:188734
dotnet.runtime.fn94ls2wwa.js:3
MONO_WASM: mono_wasm_load_runtime () failed [object Object]
The fix in dotnet/sdk#51269 is to update
`%(KnownWebAssemblySdkPack.WebAssemblySdkPackVersion)`.
The question is "update *to what*?" `%(WebAssemblySdkPackVersion)`
refers to the [Microsoft.NET.Sdk.WebAssembly.Pack][0] NuGet package
version, and the only `-rc.2` version doesn't work. Using the `-rc.1`
version with RC2 *also* doesn't work.
This thought appears unviable: whatever version specified there needs
to be a published NuGet package version, and wherever the fix is, it
doesn't appear to have been published yet.
dotnet/aspnetcore#63970 presents an alternative workaround:
> The issue in .NET 10 RC2 SDK is related to publishing fingerprinted
> assets in WebAssembly based projects. The workaround is to disable
> fingerprinting.
This can be done by settting `$(WasmFingerprintAssets)`=false.
Try it! Does It Work?
[0]: https://www.nuget.org/packages/Microsoft.NET.Sdk.WebAssembly.Pack
0 commit comments