Linux: Mono installation and errors(Linux:Mono 安装和错误)
问题描述
在过去的几周里,我一直在努力安装一个可以正常工作的 Mono,但没有成功.
Over the past weeks I struggled to get a working Mono installation without success.
我已经在 Debian6_x64、Debian7_x64 和 Ubuntu_12.04_x64 上尝试过.我已经使用 apt-get 使用默认的 mono-complete 安装了它,并尝试从 GitHub 和其他存储库编译它.无论是使用 Mono 2.x 还是 3.x,我都遵循了几个教程,但似乎没有任何效果.
I have tried it on Debian6_x64, Debian7_x64 and Ubuntu_12.04_x64.
I have installed it using the default mono-complete using apt-get, tried compiling it from GitHub and from alternative repositories. Either with Mono 2.x or 3.x, I followed several tutorials and nothing seems to work.
很遗憾,我没有过去安装的错误日志,但目前我的情况是:
Unfortunately I don't have the error logs of past installs but at this moment my current situation is:
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# 程序,我目前得到的错误是:
I'm trying to run a c# program I compiled under windows and the error I get currently is:
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.
我一直在谷歌搜索,但似乎没有任何效果.如果有任何可以提供帮助的建议,我将不胜感激.
I've been googling and nothing seems to work. I'd greatly appreciate any advice that could help.
谢谢!
推荐答案
现在最好的办法是安装 Ubuntu Trusty 14.04 (LTS),它的默认存储库中包含 mono 3.2.8(通过 apt-get 轻松安装).
The best thing to do nowadays is install Ubuntu Trusty 14.04 (LTS), which includes mono 3.2.8 in its default repositories (easy to install through apt-get).
这篇关于Linux:Mono 安装和错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Linux:Mono 安装和错误
基础教程推荐
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- WPF 模态进度窗口 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
