Linux上的dot net Windows应用程序 [英] dot net Windows application on Linux
本文介绍了Linux上的dot net Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi
如何为Linux OS-Ubuntu实现Dot net C#/ VB windows应用程序。
建议并提供一些示例代码帮助。
谢谢
解决方案
这是您要找的吗? br $>
MONO :.NET框架的替代方案 [ ^ ]
有关使用Mono在Linux上开发和运行.NET应用程序的更多文章 [ ^ ]
除了正确的a之外还有一些重点解决方案1:Mike Meinz,解决方案1:
您可以在Windows上开发应用程序并在其他平台上运行,反之亦然,无需重新编译 。
您需要更准确地开发应用程序,遵守标准并避免P / Invoke特定于平台的方法。也就是说,所有或大部分代码应限于BCL(标准化)。一些非标准库也在Mono中实现,特别是ADO.NET
和System.Windows.Forms
。
对于正式的兼容性检查,您可以使用Mono迁移分析器(MoMA): http://www.mono-project.com/MoMA [ ^ ]。
在Windows上,您可以直接在Windows上开发和测试代码,而不是在Mono for Windows上开发和测试代码。第二步已经给你一个很好的保证。
如果你想在Linux上开发,你可以使用MonoDevelop
IDE:
http://en.wikipedia.org/wiki/MonoDevelop [< a href =http://en.wikipedia.org/wiki/MonoDeveloptarget =_ blanktitle =New Window> ^ ],
http://monodevelop.com/ [ ^ ]。
它也可以在Windows上使用。此外,您可以使用不同但相关的IDE for Windows,#development:
http://en.wikipedia .org / wiki / Sharpdevelop [ ^ ],
http://www.icsharpcode.net/OpenSource/SD/Default.aspx [ ^ ]。
-SA
答案会帮助我,
我可以在Window OS上实现/构建Mono并在Linus OS上运行exe吗?
我可以在Window OS上实现/构建正常并在Linus OS上运行exe吗?
Hi
How to implement Dot net C#/VB windows application for Linux OS- Ubuntu.
Please suggest and help with some sample code.
Thanks
解决方案
Is this what you are looking for?
MONO: an alternative for the .NET framework[^]
More articles on using Mono to develop and run .NET applications on Linux[^]
Some important point in addition to the correct answer by Mike Meinz, Solution 1:
You can develop applications on Windows and run it on other platforms, and visa versa, without recompilation.
You need to develop applications more accurately, keeping to standards and avoiding P/Invoke of platform-specific methods. That is, all or most of the code should be limited to BCL (which is standardized). Some non-standard libraries are also implemented in Mono, notablyADO.NET
andSystem.Windows.Forms
.
For a formal compatibility check, you can use The Mono Migration Analyzer (MoMA): http://www.mono-project.com/MoMA[^].
On Windows, you can develop and test your code on Windows directly, and than on Mono for Windows. This second step already gives you a good assurance.
If you want to develop on Linux, you can useMonoDevelop
IDE:
http://en.wikipedia.org/wiki/MonoDevelop[^],
http://monodevelop.com/[^].
It is also available on Windows though. Besides, you can use different but related IDE for Windows, #develop:
http://en.wikipedia.org/wiki/Sharpdevelop[^],
http://www.icsharpcode.net/OpenSource/SD/Default.aspx[^].
—SA
Answer will help me ,
Can i implement/build Mono on Window OS and run exe on Linus OS?
Can i implement/build normal on Window OS and run exe on Linus OS?
这篇关于Linux上的dot net Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文