1. 用wine直接运行exe。安装wine后有个放exe的文件夹,双击后会自动包装运行。看起来挺方便的,就怕暂用资源比较大;

http://www.youtube.com/watch?v=eYISVQBBkJI

http://winebottler.kronenberg.org/ (推荐)

http://linfan.info/blog/2012/03/01/wine-mac/

http://wiki.winehq.org/

2. 用mac os 终端运行mono编译后的exe;有个问题,这个终端窗口关闭则exe窗口也会关闭;

http://www.cnblogs.com/codelove/archive/2011/12/10/2282984.html

3. Mono GTK# Application;

http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app

4. 用MonoMac,但学习成本比较大;

http://www.infoq.com/cn/news/2010/05/MonoMac

http://www.cnblogs.com/shanyou/archive/2011/01/28/monomac.html

Toolkit Runs on Linux Runs on Windows Runs on Mac Binding Style License Status
MonoMac no no yes Strongly typed C# binding to Cocoa APIs MIT X11 Actively developed, builds on the design lessons from MonoTouch but still incomplete. This will be the new default binding for Mono on OSX. Separate download.
Gtk# yes yes yes Strongly typed C# binding to the cross platform Gtk+ API. Applications look foreign on OSX. LGPL v2 Actively developed, cross platform. Bundled with Mono.
Windows.Forms yes yes yes Cross platform implementation of Microsoft's Windows.Forms. Applications look foreign on OSX. MIT X11 The Windows.Forms API was frozen in time by Microsoft. Bundled with Mono.
MonObjc no no yes Binding to the native Cocoa APIs, but requires manual use of Objective-C selectors to work with, relatively thin wrapper around the underlying APIs. LGPL v3 Actively developed. Separate download.
CocoaSharp no no yes Binding to the native Cocoa APIs, but requires manual use of Objective-C selectors to work with, relatively thin wrapper around the underlying APIs. MIT X11 No longer developed, no longer maintained, deprecated. Bundled with Mono.

Mac运行exe的几种方法,欢迎补充!的更多相关文章

  1. mac学习Python第一天:安装、软件说明、运行python的三种方法

    一.Python安装 从Python官网下载Python 3.x的安装程序,下载后双击运行并安装即可: Python有两个版本,一个是2.x版,一个是3.x版,这两个版本是不兼容的. MAC 系统一般 ...

  2. WPF程序将DLL嵌入到EXE的两种方法

    WPF程序将DLL嵌入到EXE的两种方法 这一篇可以看作是<Visual Studio 版本转换工具WPF版开源了>的续,关于<Visual Studio 版本转换工具WPF版开源了 ...

  3. JS获取客户端IP地址、MAC和主机名七种方法

    一.使用JS获取客户端IP的几个方法方法一(只针对IE且客户端的IE允许AcitiveX运行,通过平台:XP,SERVER03,2000).获取客户端IP代码:<HTML><HEAD ...

  4. openstack中运行定时任务的两种方法及源代码分析

    启动一个进程,如要想要这个进程的某个方法定时得进行执行的话,在openstack有两种方式: 一种是通过继承 periodic_task.PeriodicTasks,另一种是使用loopingcall ...

  5. Linux:检查当前运行级别的五种方法

    运行级就是Linux操作系统当前正在运行的功能级别.存在七个运行级别,编号从0到6.系统可以引导到任何给定的运行级别.运行级别由数字标识. 每个运行级别指定不同的系统配置,并允许访问不同的进程组合.默 ...

  6. Mac安装wget的两种方法

    ​ 第一种.传统的安装包 A - 从ftp://ftp.gnu.org/gnu/wget/下载到最新的wget安装包到本地 B - 然后通过终端tar -zxvf命令解压到我们某个目录 C - 然后依 ...

  7. iOS开发者两分钟学会用GitHub在Mac上托管代码的两种方法

        原文发布者:http://blog.csdn.net/duxinfeng2010 在Mac上使用Xcode进行iOS-Apple苹果iPhone手机开发过程中少不了使用GitHub在Mac上托 ...

  8. VC 获 取 当前程序运行路径的几种方法

    1.使用APi函数GetModuleFileName char path[MAX_PATH]; GetModuleFileName(NULL, path, MAX_PATH);        //获取 ...

  9. Mac 系统重新安装的几种方法

    转:https://blog.csdn.net/feibozhulang/article/details/43734109 苹果官网说明: https://support.apple.com/en-u ...

随机推荐

  1. iOS开发 画六边形(多边形)

    - (void)drawRect:(CGRect)rect { UIBezierPath * path = [UIBezierPath bezierPath]; [path moveToPoint:C ...

  2. el 和 fmt 常用

    EL表达式入门 转自 http://blog.chinaunix.net/uid-9789791-id-1997374.html 隐含对象: pageContext: pageContext对象 pa ...

  3. 有关Rander生成随机数的问题

    首先我们说的是要生成一个随机数要求传入两个参数.一个表示生成的个数,另外一个表示生成的长度 . public void shengchengsuijishu(int lenght) { '}; Ran ...

  4. WPF:行列显示

    新建显示病人信息控件PatientElement Add-->NewItem-->WPF-->UserControl(WPF),名称:PatientElement.xmal < ...

  5. js 时间处理

    1.格式化时间 function GetDateTimeFormatter(value) {        if (value == undefined) {            return &q ...

  6. Mybatis 实用

    1.<delete id="removeZtreeS" parameterType="String"> DELETE FROM sys_fun WH ...

  7. 记一次web项目总结

    功能需求,登录,用户管理,新闻管理. 用户管理: // 分页查询所有用户信息 public List<User> userInfo(int index, int pageSize) thr ...

  8. 循环语句for

    循环语句for 格式: for(int i=1/*初始条件*/;i<=100/*循环条件*/;i++/*状态改变*/) { //循环体,执行代码:(break:跳出循环体) } 给出初始条件,先 ...

  9. 语句:分支语句、switch case ——7月22日

    语句的类型包括:声明语句.表达式语句.选择语句.循环语句.跳转语句.异常语句 1.声明语句引:入新的变量或常量. 变量声明可以选择为变量赋值. 在常量声明中必须赋值. 例如: int i = 0;// ...

  10. .net matlab 数据类型转换

    http://wenku.baidu.com/link?url=HWqh7fna8d4UKz7FniwMzaqC5aW2M4wi5H-lWaRXDlxJlJsPilK_tjMDgRBnNiw7rjTm ...