MAC OSX,运行.NET 4.5 Windows应用程序 [英] MAC OSX ,Run .NET 4.5 Windows Application

查看:435
本文介绍了MAC OSX,运行.NET 4.5 Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在MACOSX中运行.NET软件

Can I run a .NET software in MACOSX

推荐答案

是的。你只需安装bootcamp,然后安装windows,然后安装.NET,然后安装你的程序./



否则,这是一个Windows程序所以,没有。
Yes. You just install bootcamp, then install windows, then install .NET, then install your program./

Otherwise, it''s a windows program so, no.


您可以在Mac OS X下单独运行.NET应用程序而无需重新编译:

http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],

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



但是,这些应用程序必须兼容。 Mono支持所有BCL和一些其他非标准FCL,特别是 System.Windows.Forms ,ADO.NET等。

请参阅:

http://en.wikipedia.org/wiki/Base_Class_Library [< a href =http://en.wikipedia.org/wiki/Base_Class_Librarytarget =_ blanktitle =New Window> ^ ],

http://en.wikipedia.org/wiki/Framework_Class_Library [ ^ ]。



我还必须注意,与Linux相比,Mac OS X对外来GUI应用程序极为敌视。他们工作,但看起来很难看。如果你把自己局限于控制台应用程序,这不是问题,但是表格看起来像是非法的,即使它们有效。其中一个主要原因是主菜单的概念完全不同。你也可以使用Mono开发原生Mac OS X UI,并使用包装,Objective-C,Cocoa等库MonobjC,但我不认为你对此感兴趣。无论如何,这是一种可能性。



-SA
You can run .NET application without recompilation on Mac OS X under Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

However, those application have to be compatible. Mono supports all of the BCL and some of other non-standard FCL, notably System.Windows.Forms, ADO.NET, and more.
Please see:
http://en.wikipedia.org/wiki/Base_Class_Library[^],
http://en.wikipedia.org/wiki/Framework_Class_Library[^].

I must also note that, in contrast to Linux, Mac OS X is extremely hostile to the "foreign" GUI applications. They work, but look ugly. If you confine yourself to console applications, it''s not a problem, but Forms look like something outlaw, even though they work. One major reason for that is the totally different concept of the main menu. You can also develop "native" Mac OS X UI using Mono and the library MonobjC which wrapes, Objective-C, Cocoa, etc, but I don''t think you are interested in that. Anyway, this is a possibility.

—SA


这篇关于MAC OSX,运行.NET 4.5 Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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