Windows 上 Mono 的好 IDE

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2531459/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:11:41  来源:igfitidea点击:

Good IDE for Mono on Windows

c#windowsmonomonodevelopsharpdevelop

提问by Paya

I would like to develop Mono application for Win/Linux/Mac in C# on Windows. Is there any really good (Visual Studio comparable) IDE for that? The best would be if I could manage Visual C# Expressto compile solutions using the Mono compiler.

我想在 Windows 上用 C# 为 Win/Linux/Mac 开发 Mono 应用程序。有没有真正好的(Visual Studio 可比的)IDE 吗?最好的办法是我可以设法Visual C# Express使用 Mono 编译器来编译解决方案。

I've found a #developIDE, which looks very cool and has many features that Express edition of the Visual Studio hasn't (like plugins for TortoiseSVN, NUnit, etc). Hovewer the 3.* versions dropped support for Mono, so you are no longer able to compile solutions using the Mono compiler.

我找到了一个#developIDE,它看起来很酷,并且具有许多 Visual Studio Express 版没有的功能(例如 TortoiseSVN、NUnit 等的插件)。然而,3.* 版本放弃了对 Mono 的支持,因此您无法再使用 Mono 编译器来编译解决方案。

There is also a MonoDevelop. I've tried it and it sucks. Not comparable to Visual Studio at all. No WinForms designer, + tons of other missing features. I would just like if they would drop the development of MonoDevelop and build a plugin for #develop instead.

还有一个MonoDevelop。我试过了,它很糟糕。根本无法与 Visual Studio 相提并论。没有 WinForms 设计器,+ 大量其他缺失的功能。我只是想他们是否会放弃 MonoDevelop 的开发并为 #develop 构建一个插件。

Is there any other good enough IDE, or is it possible to make the Visual C# Express or #develop compile the solutions with Mono compiler?

是否有其他足够好的 IDE,或者是否可以使 Visual C# Express 或 #develop 使用 Mono 编译器编译解决方案?

EDIT: Delphi Prism looks cool, but it isn't C#.

编辑:Delphi Prism 看起来很酷,但它不是 C#。

采纳答案by Reed Copsey

You can always develop your applications using Visual Studio Express Edition (since you don't want to pay for the Mono Tools). Monodevelop will support compilation of Visual Studio solutions now, so just develop in VS, and recompile occasionally in Monodevelop to guarantee support.

您始终可以使用 Visual Studio Express Edition 开发您的应用程序(因为您不想为 Mono 工具付费)。Monodevelop现在支持编译Visual Studio解决方案,所以在VS中开发,偶尔在Monodevelop中重新编译以保证支持。

Since Mono now supports Windows Forms, you can develop a Windows Forms application entirely in Visual Studio, and just deploy it using Mono. Since C# compiles to IL, it doesn't matter which IDE you use to develop - you can still run it on Mono.

由于 Mono 现在支持 Windows 窗体,因此您可以完全在 Visual Studio 中开发 Windows 窗体应用程序,只需使用 Mono 进行部署即可。由于 C# 编译为 IL,因此您使用哪个 IDE 进行开发并不重要 - 您仍然可以在 Mono 上运行它。

回答by Miroslav Popovic

How about Mono Tools for Visual Studio?

Visual Studio 的 Mono 工具怎么样?

Note that it's a commercial plugin.

请注意,这是一个商业插件。

回答by Matt Ward

Whilst SharpDevelop 3.2 does not support mono out of the box but if you download the source code for SharpDevelopyou can find a code sample that contained the original code for mono support. If you build that sample then mono support will be re-enabled in SharpDevelop.

虽然 SharpDevelop 3.2 不支持开箱即用的单声道,但如果您下载SharpDevelop源代码,您可以找到包含单声道支持原始代码的代码示例。如果您构建该示例,则将在 SharpDevelop 中重新启用单声道支持。

A decision was made to remove mono support from the main SharpDevelop applicationsince only support for compiling with mono was provided and MonoDevelop can now run on Windows. Note that mono support in SharpDevelop does not provide any integrated debugging with mono's debugger and there is no GTK# designer compared with MonoDevelop.

决定从主 SharpDevelop 应用程序中删除 mono 支持,因为只提供了对 mono 编译的支持,MonoDevelop 现在可以在 Windows 上运行。请注意,SharpDevelop 中的 mono 支持不提供任何与 mono 调试器的集成调试,并且与 MonoDevelop 相比,没有 GTK# 设计器。

回答by supercheetah

I think your best bet will be to do development with VS C# Express, and then use a virtual machine--such as VMWare, Virtual PC, VirtualBox, etc.--to access Linux (which is the primary platform for MonoDevelop, and on which it works really well, comparably to VS.)

我认为最好的办法是使用 VS C# Express 进行开发,然后使用虚拟机——例如 VMWare、Virtual PC、VirtualBox 等——访问 Linux(这是 MonoDevelop 的主要平台,以及与 VS 相比,它的效果非常好。)

There are even a number of downloads availablethat are primed for doing exactly this. You could even use a Live CD, and just reboot your machine to get into Linux (which can usually access Windows partitions with no problems.)

甚至有许多可用下载内容正是为了做到这一点。您甚至可以使用 Live CD,然后重新启动机器即可进入 Linux(通常可以毫无问题地访问 Windows 分区。)

回答by Franci Penov

You can use Mono Tools for Visual Studio. However, it's a paid product.

您可以使用Mono Tools for Visual Studio. 但是,它是付费产品。