Open nor0x opened 1 year ago
It looks like you're trying to build with Wasm AOT on macOS, this is not supported at this time by the .NET SDK. Looks like we'll need to add a proper error message.
Also, can you provide the full binlog file? It may help to troubleshoot the reason for the cross compiler to kick in.
thanks for the quick response! is there a different way to disable aot? I already have
<WasmShellMonoRuntimeExecutionMode>Interpreter</WasmShellMonoRuntimeExecutionMode>
in my .csproj file. I will prepare the binlog file
No, setting this mode should be enough. This would mean that for some reason, the AOT compiler is still incorrectly being used.
Current behavior
After updating my WebAssembly application from .net5 to .net6 i encounter a build issue in the ninja step.
here is the full output (diagnostic verbosity) output.log
I noticed in the logs that
mono-aot-cross
is used even-though i have set<WasmShellMonoRuntimeExecutionMode>Interpreter</WasmShellMonoRuntimeExecutionMode>
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
haven't found a workaround yet - it works fine on Windows and the Ubuntu-latest hosted agent though
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
Affected platforms
WebAssembly
IDE
Visual Studio for Mac, Rider macOS
IDE version
No response
Relevant plugins
SkiaSharp.Views.Uno
Anything else we need to know?
No response