gpt4 book ai didi

c# - Linux:Mono 安装和错误

转载 作者:太空狗 更新时间:2023-10-29 11:44:56 24 4
gpt4 key购买 nike

在过去的几周里,我一直在努力安装一个可用的 Mono,但没有成功。

我已经在 Debian6_x64Debian7_x64Ubuntu_12.04_x64 上试过了。我已经使用 apt-get 使用默认的 mono-complete 安装它,尝试从 GitHub 和其他存储库编译它。无论是使用 Mono 2.x 还是 3.x,我都遵循了几个教程,但似乎没有任何效果。

不幸的是,我没有过去安装的错误日志,但目前我的情况是:

Ubuntu 12.04 x64


Mono JIT compiler version 3.4.0 (master/250756b Sun Mar 2 15:02:07 EST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

我正在尝试运行我在 Windows 下编译的 c# 程序,目前我得到的错误是:

user@host:/home/pck# mono Program.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll' directory.

我一直在谷歌搜索,但似乎没有任何效果。如果有任何建议,我将不胜感激。

谢谢!

最佳答案

现在最好的办法是安装 Ubuntu Trusty 14.04 (LTS),它的默认存储库中包含 mono 3.2.8(可通过 apt-get 轻松安装)。

关于c# - Linux:Mono 安装和错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22285830/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com