在Ubuntu 16.04.4上安装Mono 3.5没有任何运气。指针表示赞赏。
apt-get install mono-reference-assemblies-3.5
mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
似乎无论如何默认为Mono 4?
我的实际要求是专门运行“项目5:Sightseer”。死于/之后:
mono --runtime=3.5 ./P5SServer.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Can't find custom attr constructor image: /home/steam/Steam/sightseer/P5SServer.exe mtoken: 0x0a000001
Unhandled loader error: 8, (null) System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (null)
* Assertion: should not be reached at loader.c:298
具有Mono经验的人会指出我正确的方向吗?
答案 0 :(得分:0)
在这种情况下,对于我收到的错误消息,解决方案是安装mono-complete。 (apt-get install mono-complete)
我怀疑版本3.5的引用不是它不能运行的原因(基于开发人员的评论,我需要3.5以及它无法正常工作的原因),实际上是缺少了各种库或名称空间。