Cake on OSX fails with “error: the assembly name is invalid”

久未见 提交于 2021-01-28 11:33:37

问题


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

I have tried using MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll to output more detailed logging but nothing seems obviously relevant.


回答1:


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.



来源:https://stackoverflow.com/questions/59836223/cake-on-osx-fails-with-error-the-assembly-name-is-invalid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!