-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Blazor WASM AOT Compilation Failure #132071
Copy link
Copy link
Open
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-mononeeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.os-browserBrowser variant of arch-wasmBrowser variant of arch-wasm
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-mononeeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.os-browserBrowser variant of arch-wasmBrowser variant of arch-wasm
Is there an existing issue for this?
Describe the bug
Hi,
We have a problem with Blazor WASM AOT compilation that I cannot seem to diagnose. From
dotnet publish, I get the error:C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\10.0.10\Sdk\WasmApp.Common.targets(672,5): Error : Precompiling failed for G:\source\xxxx\src\xxxx\obj\Release\net10.0\wasm\for-publish\aot-in\xxxxx.dll with exit code -1073741571.The same error appears when building on our Azure DevOps Linux-based agents.
The build output includes the
mono-aot-cross.execommand that failed. When I run that command directly, I end up with:The xxxx.dll is a custom .NET 10 library. I am not sure what triggers this problem. How do I find which method 0x600014e is, and what type 0100001f is?
The .NET version mentioned here is the current insider preview, but the same issue occurs on the latest stable.
Expected Behavior
Successful compilation, or a more detailed error message pointing to the problem.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.400-preview.0.26322.102
Anything else?
No response