最新的 Mono 的最佳设置是什么? Ubuntu 9.04 上的 MonoDevelop?

发布于 2024-07-23 02:54:15 字数 84 浏览 7 评论 0原文

我开始在笔记本电脑上使用 Ubuntu 9.04。 我真正想要的是能够在 Ubuntu 上编写我的 C# 项目,包括单元测试。 谁能指导我如何设置它?

I start using Ubuntu 9.04 on my laptop. What I really want is to be able to write my C# projects on Ubuntu, including unit testing. Could anyone guide me how to setup it?

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

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

发布评论

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

评论(4

三生殊途 2024-07-30 02:54:15

除了 Matthew 建议的基本包之外,您还需要 monodevelop-nunit 包,它允许您从 IDE 中运行和调试单元测试。 对于调试器,您需要 monodevelop-debugger-mdb。 您可能还需要用于 SVN 支持的 monodevelop-versioncontrol、用于运行 ASP.NET 应用程序的 mono-xsp2 以及用于文档查看器的 monodoc-browser

也许您最好只安装 MonoDevelop 软件包“建议”的所有软件包——我相信 Ubuntu 软件包管理器有一种方法可以通过其 GUI 轻松地完成此操作。

请注意,Ubuntu 将 Mono 分成许多小软件包,因此如果缺少某些内容,请使用 apt-file 工具或类似工具来查找您需要安装的软件包。

Ubuntu 还没有 Mono 2.4 软件包; 如果您需要 100% 最新的软件包,最好的选择是使用 openSUSE。 目前在 Ubuntu 上获取 2.4 的唯一方法是从源代码构建 - 如果您决定这样做,请阅读 如何不破坏 Mono 安装 首先。

In addition to the basic packages Matthew suggested, you'll also want the monodevelop-nunit package, which allows you to run and debug unit tests from within the IDE. For the debugger, you'll want monodevelop-debugger-mdb. You probably also want monodevelop-versioncontrol for SVN support, mono-xsp2 for running ASP.NET apps, and monodoc-browser for the docs viewer.

Maybe you're best off just installing all of the packages 'suggested' by the MonoDevelop package -- I believe the Ubuntu package manager has a way to do this easily from its GUI.

Beware that Ubuntu splits up Mono into many, many small packages, so if something's missing, use the apt-file tool or similar to find which package you need to install.

Ubuntu doesn't have Mono 2.4 packages yet; if you require 100% up-to-date packages, your best bet is to use openSUSE. The only way to get 2.4 on Ubuntu right now is to build from source -- and if you decide to do that, please read How not to break Mono installations first.

〗斷ホ乔殘χμё〖 2024-07-30 02:54:15

同时您可能已经更新到 10.04。 对于 10.04(和 8.04),您可以使用 badgerports。 我还没有尝试过,但它看起来很可靠。

You probably already updated to 10.04 in the meanwhile. For 10.04 (and 8.04) you can use the badgerports. I didn't try it (yet), but it looks reliable.

反话 2024-07-30 02:54:15

我建议使用 2.4,因为它具有所有最新的 .net 优点。

我建议使用两个指南:

http://blog .ruski.co.za/page/Install-Mono-on-Ubuntu.aspx

http://www.centriment.com/2009/04/01/building-mono-24-from-source-on-ubuntu-810/< /a>

后者可以让你保留 ubuntu 附带的单声道安装,这样你仍然可以从 synaptic 安装应用程序。 我建议使用这个。 然而,这两个指南都非常清楚安装它需要什么。 一开始它看起来很危险,但如果你花几个小时来遵循它,你就会发现它实际上非常简单。

祝你好运

I would suggest using 2.4 as it has all the latest .net goodness.

There are two guides I would suggest using:

http://blog.ruski.co.za/page/Install-Mono-on-Ubuntu.aspx

http://www.centriment.com/2009/04/01/building-mono-24-from-source-on-ubuntu-810/

The latter lets you keep the mono install that comes with ubuntu so you can still install apps from synaptic. I would suggest using this. Both guides however are really clear about what is required to install it. It looks menacing at first but if you take a couple of hours to follow it then you will see it is actually quite easy.

Good luck

疾风者 2024-07-30 02:54:15

编辑:添加了 mono-devel

我使用 Ubuntu 8.04,但是你真正需要设置什么? 正在做(如果您还没有):

sudo apt-get install monodevelop nunit mono-devel

应该可以满足您的需求。 并且有很多针对 monodevelop 的教程(例如 http://monodevelop.com/Documentation/Creating_A_Simple_Solution )和 NUnit(例如 http://www.nunit.org /index.php?p=quickStart&r=2.4.8)

EDIT: Added mono-devel

I use Ubuntu 8.04, but what do you really need to setup? Doing (if you haven't already):

sudo apt-get install monodevelop nunit mono-devel

should give you what you need. And there are plenty of tutorials for both monodevelop (e.g. http://monodevelop.com/Documentation/Creating_A_Simple_Solution) and NUnit (e.g. http://www.nunit.org/index.php?p=quickStart&r=2.4.8)

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