如何开发C#是跨平台(Linux) [英] how to develop C # is cross platform (linux)

查看:248
本文介绍了如何开发C#是跨平台(Linux)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我使用C#语言的Windows 7,并且希望我的应用程序在linux下运行,例如(ubuntu)...

解决方案

,只要您使用的是C#,没有P/Invoke调用,COM互操作或其他Windows特定功能,则您应该可以使用 Mono [ ^ ].

请注意,Mono不支持某些特定内容(请参见其兼容性页面 [ Mono简介-您的第一个Mono应用程序 [ MONO:.NET框架的替代方案 [ ^ ]


hello friends

I work with the Windows 7 in C# language, and I want my application running under linux for example(ubuntu) ...

解决方案

As long as you are using just C#, no P/Invoke calls, COM interop or other Windows specific things, you should be able to use Mono[^].

Note that Mono doesn''t support some specific stuff (see its compatibility page[^]), in particular Entity Frameworks (.Net 4) and WPF (.Net 3.0).


C# apps can be run using the Mono framework, here are some articles:
Introduction to Mono - Your first Mono app[^]
MONO: an alternative for the .NET framework[^]


这篇关于如何开发C#是跨平台(Linux)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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