使用 AOT 构建时挖掘程序集



我需要将 Uno.Core 和 System.Core 程序集添加到排除的程序集列表中,然后才能在 InterpreterAndAOT 模式下成功运行我的应用程序。这对性能有什么影响?为什么需要从 AOT 生成过程中排除这些程序集?

我不排除Uno.Core和System.Core时出现以下错误:

Uno.UI.js:111 Uncaught RuntimeError: memory access out of bounds
at <anonymous>:wasm-function[55825]:0x13bc653
at <anonymous>:wasm-function[104503]:0x25e36ce
at <anonymous>:wasm-function[124001]:0x2e2c077
at <anonymous>:wasm-function[42762]:0xd6a039
at <anonymous>:wasm-function[60154]:0x15b59de
at dynCall_iii (<anonymous>:wasm-function[151630]:0x342a152)
at invoke_iii (http://localhost/dotnet.js:12348:12)
at <anonymous>:wasm-function[18564]:0x60ef1e
at dynCall_iiii (<anonymous>:wasm-function[151631]:0x342a160)
at invoke_iiii (http://localhost/dotnet.js:12337:12)

这是一个单声道问题,最近可能已经修复。

您可能希望尝试使用Uno.Wasm.Bootstrap包的最新实验版本,然后重试。

最新更新