-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-mononeeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration
Description
Description
wasm aot compilation failed for BlazorFluentUI.CoreComponents.
[BlazorFluentUI.CoreComponents.dll] Exec (with response file contents expanded) in C:\Users\hez20\source\repos\LabCenter\Client\obj\Release\net6.0\linked: MONO_PATH=C:\Users\hez20\source\repos\LabCenter\Client\obj\Release\net6.0\linked;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\6.0.0\runtimes\browser-wasm\native\;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\6.0.0\runtimes\browser-wasm\\lib\net6.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\6.0.0\Sdk\..\tools\mono-aot-cross.exe --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.win-x64\6.0.0\tools\bin\,static,llvmonly,interp,asmonly,llvm-outfile=C:\Users\hez20\source\repos\LabCenter\Client\obj\Release\net6.0\wasm\for-publish\BlazorFluentUI.CoreComponents.dll.bc.tmp" "BlazorFluentUI.CoreComponents.dll"
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0\Sdk\WasmApp.Native.targets(506,5): error : Precompiling failed for C:\Users\hez20\source\repos\LabCenter\Client\obj\Release\net6.0\linked\BlazorFluentUI.CoreComponents.dll [C:\Users\hez20\source\repos\LabCenter\Client\LabCenter.Client.csproj]
Reproduction Steps
- Create a blazor wasm project
- Add nuget reference to
BlazorFluentUI.CoreComponents - Compile it with wasm aot enabled
Expected behavior
Compile successfully
Actual behavior
Failed to compile BlazorFluentUI.CoreComponents.dll
Regression?
No response
Known Workarounds
No response
Configuration
.NET 6 GA
Other information
No response
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-mononeeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration