-
What are the typical causes of the following runtime error following an AoT compilation: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I don't think that the trace logger is supported in the AOT configuration. Are you trying to troubleshoot memory usage ? |
Beta Was this translation helpful? Give feedback.
-
@jeromelaban Correctly identified this as a content download issue. In order to address issues where customers of our application have firewall restrictions that block the <PropertyGroup Label="Globals" Condition="'$(Configuration)'=='Mixed_AOT'">
<WasmShellEnableAOTDeduplication>false</WasmShellEnableAOTDeduplication>
<WasmShellEmccLinkOptimization>false</WasmShellEmccLinkOptimization>
<WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
<WasmShellEnableEmscriptenWindows>false</WasmShellEnableEmscriptenWindows>
<WasmShellAssembliesExtension>.wlr</WasmShellAssembliesExtension>
</PropertyGroup> Unfortunately, when running the solution locally, IISExpress was not serving the content, resulting in the application failing to launch. Removing this setting when running locally resolved the issue. Full details of the congiuration can be found at Assemblies obfuscation |
Beta Was this translation helpful? Give feedback.
@jeromelaban Correctly identified this as a content download issue. In order to address issues where customers of our application have firewall restrictions that block the
.clr
extension when downloading web content, we have adopted the Uno configuration optionWasmShellAssembliesExtension
below.