在Linux中运行的.Net程序 [英] .Net program running in Linux

查看:194
本文介绍了在Linux中运行的.Net程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我毫不怀疑我们是否在Windows XP中运行.net应用程序,可以在Linux上运行...?

I have small doubt we are running .net application in windows xp,it is positionable to run Linux...?

推荐答案

您可以运行.NET应用程序在单声道下但是您可能无法仅使用在Windows上运行的已编译.NET exe并期望它在Mono上运行(尽管这是最初的想法).

但是除非您使用任何Windows专用的东西,否则您应该能够重用大部分或全部代码,除非您还需要确保也在Mono/Linux下进行测试和调试.

如果在Windows上也使用Mono,会更容易,这样就可以在两个OS上维护它变得容易得多.

这是指向Mono的链接: http://www.mono-project.com/Main_Page [ ^ ]
You can run .NET applications under Mono. But you may not be able to just take a compiled .NET exe that runs on Windows and expect it to run on Mono (although that was the original idea).

But unless you use any Windows specific stuff, you should be able to reuse most or all of your code, except that you need to make sure you test and debug under Mono/Linux too.

It is easier if you use Mono on Windows too, that way it becomes far easier to maintain it for both OSes.

Here''s the link to Mono: http://www.mono-project.com/Main_Page[^]


您已经获得了答案来自其他答复者.

因此,要从该系列中挑选样品

跨平台文章@ Codeproject [ Mono简介-您的第一个Mono应用程序 [ MONO:.NET框架的替代方案 [具有Mono的独立于平台的代码:客户端-服务器应用程序示例 [
Already you got the answers from other answerers.

So For samples pick from this collection

Cross Platform Articles @ Codeproject[^]

Best picks
Introduction to Mono - Your first Mono app[^]

MONO: an alternative for the .NET framework[^]

The platform-independent code with Mono: Client-server application sample[^]


是的,您具有提供Moonlight的Mono(Novell),Moonlight是Silverlight的开源实现. Nishant是正确的,Mono是开源.net实现.使用Silver/Moonlight不需要重新编译,并且在两者上都能很好地工作,这是一个很大的优势.

http://www.mono-project.com/Moonlight [
Yes, you have Mono (Novell) that provides Moonlight which is open source implementation of Silverlight. Nishant is right by the way that Mono is the open source .net implementation. Using Silver/Moonlight does not require a recompile and works well on both which is a great advantage.

http://www.mono-project.com/Moonlight[^]

Good luck!


这篇关于在Linux中运行的.Net程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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