简体   繁体   English

如何使用Mono制作Mac应用程序

[英]How to Make a Mac Application With Mono

so I recently installed Mono on my Windows 10 computer, and I've gotten it to make .exe files just fine with a C# program. 因此,我最近在Windows 10计算机上安装了Mono,并且使用C#程序使它可以使.exe文件正常运行。 However, an exe won't run on Mac without a 3rd party program. 但是,如果没有第三方程序,exe将无法在Mac上运行。 So I'm wondering, how can I export this as a Mac application instead of a Windows application? 所以我想知道如何将其导出为Mac应用程序而不是Windows应用程序?

Just run the following in the terminal (on your Mac with Mono installed): 只需在终端中运行以下命令(在装有Mono的Mac上):

mono yourfile.exe

Further Reading 进一步阅读
Guide:Running Mono Applications 指南:运行Mono应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM