focus-creative-games / hybridclr

HybridCLR是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.
https://code-philosophy.com/
MIT License
6.61k stars 672 forks source link

WASPlayer 下引用Windows内容后报错显示aot找不到相关dll #119

Closed qazqaz12378 closed 10 months ago

qazqaz12378 commented 10 months ago

Describe the bug | 描述问题 Exception: resolve AOT dll:Windows.Foundation.UniversalApiContract failed! Please make sure that the AOT project has referenced the dll and generated the trimmed AOT dll correctly. 这个Windows.Foundation.UniversalApiContract,是winmd文件,不是dll。

Enviroment | 环境

To Reproduce | 复制步骤 1,项目切换到Universal Windows Platform 2,点击:HybridCLR/Generate/All 项目地址:https://github.com/qazqaz12378/hybridclr_trial.git

Expected behavior | 期望的结果 希望可以正常执行Generate/All.

Screenshots | 截图或者日志 image image

image

Additional context | 补充信息 Add any other context about the problem here.

pirunxi commented 10 months ago

Uwa平台已知问题已知,但我们不考虑修复。你自行注释掉出错位置的代码。