问题描述
我今天第一次尝试使用蛋糕并出现上述错误.我最初使用自制的 cake 包,但为了简化问题,我下载了 cake 示例项目 (https://github.com/cake-build/example),但以下所有命令都给出相同的错误输出:
I tried to use cake for the first time today and got the error above. I was initially using the cake package from homebrew, but to simplify the problem I downloaded the cake example project (https://github.com/cake-build/example), but all of the following commands give the same error output:
./build.sh
cake
mono tools/Cake/Cake.exe
我曾尝试使用 MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll
来输出更详细的日志记录,但似乎没有明显相关的内容.
I have tried using MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll
to output more detailed logging but nothing seems obviously relevant.
推荐答案
看来这是mono 6.8.0的问题导致的.我最终发现了这个:https://www.gitmemory.com/KSP-CKAN 描述了升级后遇到类似问题的其他用户.在我卸载了 cake 和 mono 并恢复到 mono 6.6.0 cake 后工作正常.
It seems that this is caused by a problem with mono 6.8.0. I eventually found this: https://www.gitmemory.com/KSP-CKAN which describes other users having a similar problem after upgrading. After I uninstalled cake and mono and reverted to mono 6.6.0 cake worked fine.
这篇关于OSX 上的 Cake 失败并显示“错误:程序集名称无效";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!