在ubuntu 10上安装.NET环境

发布于 2025-01-02 13:39:34 字数 664 浏览 0 评论 0原文

我是.NET开发人员,我想在ubuntu上安装.NET环境,我在ubuntu上找到了一些相当于windows的一些应用程序(当然更简单),例如:

  1. Visual Studio : MonoDevelop
  2. CSC : Mono

其余的我会之后发现,一开始这就是我所需要的。

如何安装 Mono 和 MonoDevelop?我在互联网上找到了很多教程如何做到这一点,但每个教程的工作原理都不同,而且没有一个能很好地工作。我正在寻找一个教程、技巧或指导方针,真正教我如何让它正常工作。

目前,我使用的 Mono 是 ubuntu 上原生的,当我调用它时,我得到以下内容:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.

并且 MonoDevelop 返回:

Package: monodevelop (for debian)
Error: Dependency not satisfied: mono-runtime (> = 2.10.1)

I'm .NET developer, I want to install the .NET environment on ubuntu, I found some equivalent to some applications of windows on ubuntu(more simple, of course), like:

  1. Visual Studio : MonoDevelop
  2. CSC : Mono

the rest I will found after, for start it is what I need.

how do I to install Mono and MonoDevelop? I found a lot of tutorials on internet how do this, but each one works differently, and nothing was worked fine. I'm looking for an tutorial, tips or an guia that really teach how do I to it works fine.

Currently, the mono that I'm using is native on ubuntu, I get the following when I call it:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.

and the MonoDevelop returns:

Package: monodevelop (for debian)
Error: Dependency not satisfied: mono-runtime (> = 2.10.1)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不一样的天空 2025-01-09 13:39:34

我通过运行简单地安装了它:

sudo apt-get install mono

已全部安装并复制到包含所有依赖项的正确文件夹。

也许您应该卸载您拥有的软件包:

dpkg -P 单声道

并重新安装..

I installed it simple by running:

sudo apt-get install mono

It's all installed and copy to correct folders with all dependencies.

May be you should uninstall the package you have with:

dpkg -P mono

and re-install it again..

梦里南柯 2025-01-09 13:39:34

您可能想要运行并行单声道环境。这可以让你运行不同版本的 mono、它的库和 monodevelop,同时不会干扰 ubuntu 附带的 mono。

您可以自己构建或者您可以尝试 <一href="http://inorton.wordpress.com/2012/01/19/mono-2-10-8-and-monodevelop-2-8-5-1-packages-for-ubutnu-oneric/" rel= “nofollow">我为 ubuntu 11.10 预构建的软件包,添加:-

deb http://void.printf.net/~bredroll/pmono ./

到您的 /etc/apt/sources.list,然后运行:-

$ sudo apt-get update
$ sudo apt-get install pmono-monodevelop pmono-mono pmono-scripts

然后在并行单声道中运行通过运行环境:-

$ pmono monodevelop
$ pmono mono myapp.exe
$ pmono bash

另请参阅:- http://inorton.wordpress.com/category/mono /pmono/

You might want to run a parallel mono environment. This lets you run a different version of mono, it's libraries and monodevelop while not interfereing with the mono that comes with ubuntu.

You can build this yourself or you can try my pre-built packages for ubuntu 11.10 by adding:-

deb http://void.printf.net/~bredroll/pmono ./

To your /etc/apt/sources.list and then running:-

$ sudo apt-get update
$ sudo apt-get install pmono-monodevelop pmono-mono pmono-scripts

Then run things in your parallel mono environment by running:-

$ pmono monodevelop
$ pmono mono myapp.exe
$ pmono bash

See also:- http://inorton.wordpress.com/category/mono/pmono/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文