C#开发使用Mono的可行性 [英] Feasibility of C# development with Mono

查看:693
本文介绍了C#开发使用Mono的可行性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我碰到单和MonoDevelop的包在Ubuntu Linux操作系统来了。他们声称已经按照CLI的.NET运行库。安装软件包自己之前,我想了解以下内容:




  1. 如何厉害的是单声道


  2. 我可以开发
    的Linux像开发WinForm的
    应用程序的Windows。


  3. 时MonoDevelop的IDE与Visual Studio IDE兼容。我可以导入VS 2008的解决方案,MonoDevelop的和工作?


  4. 它支持.NET 2.0及以上?




编辑:增加一个疑问。



有什么办法来运行.NET exe文件(一个WinForm的APP)在Linux中,而不在Linux上构建鳕鱼ê?其实我并没有对一些小工具,我前面开发,并想在Linux中运行它们的代码。


解决方案

  1. (奇怪,降价始于一个枚举,即使我开始2 ...)


  2. 是的,你可以,但你与第三方组件的限制,因为内部的实现是不同的,我最后一次检查(不是很长前),单声道的WinForms实现了我的测试应用程序的外观比较奇怪(所有者绘制列表显示)。它是不是真的建议,虽然单声称,它现在完全的WinForms-2.0兼容的。


  3. MonoDevelop的是/是SharpDevelop的分公司,后者有解决方案支持。我不知道是否有MonoDevelop的。但是很酷的事情是,你可以使用Visual Studio开发和单声道运行编译应用程序。和Mono是,顺便说一下,也可用于Windows。


  4. 是的,确实如此,至于CLR去。正如马克Gravell已经写,Windows基础库丢失,因为有一些其他的(System.Management,例如)。但事情应该基本能工作,包括ASP.NET 2.0。 Mono的应用程序的可移植性准则都在一个很好的阅读。



Recently, I came across Mono and MonoDevelop packages in Ubuntu linux. They claim to have a .NET runtime in accordance with CLI. Before installing the packages myself, I would like to know the following:

  1. How powerful is Mono?

  2. Can I develop GUI application for linux like developing WinForm applications for Windows.

  3. Is MonoDevelop IDE compatible with Visual Studio IDE. Can I import VS 2008 solutions to MonoDevelop and work?

  4. Does it support .NET 2.0 and above?

EDIT: Adding one more doubt

Is there any way to run the .NET exe (of a winform app) in Linux without building the cod e in linux? In fact I don't have the code for some of the small utilities I developed earlier and would like to run them in linux.

解决方案

  1. (Strange, markdown starts the enumeration with one, even though I began with 2...)

  2. Yes, you can, but you're limited with 3rd-party components, because the internal implementation is different, and last time I checked (not very long ago), the Mono WinForms implementation made my test app look rather strange (owner-drawn list view). It is not really recommended, though Mono claims that it's now completely WinForms-2.0-compatible.

  3. MonoDevelop is/was a SharpDevelop branch, with the latter having solution support. I don't know if MonoDevelop has. But the cool thing is, you can just develop with Visual Studio and run your compiled apps on Mono. And Mono is, by the way, also available for Windows.

  4. Yes, it does, as far as the CLR goes. As Marc Gravell already wrote, the Windows Foundation libraries are missing, as are a few other (System.Management, for example). But things should mostly work, including ASP.NET 2.0. Mono's application portability guidelines are a good read on this.

这篇关于C#开发使用Mono的可行性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆