macos 如何在 Mac OSX 中运行扩展名为 .exe 的 C# 桌面应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3385652/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to run C# Desktop Application with extension .exe in Mac OSX?
提问by Noro
I installed MonoFramework and I have myproject.exe file.How to run C# Desktop Application with extension .exe in Mac OSX?
我安装了 MonoFramework 并且有 myproject.exe 文件。如何在 Mac OSX 中运行扩展名为 .exe 的 C# 桌面应用程序?
回答by Jarlaxle
You should use the following command line:
您应该使用以下命令行:
mono my_cool_program.exe
回答by santosh
yes this is working fine for run exe file...
是的,这适用于运行 exe 文件...
open terminal ...
打开终端...
then write mono on terminal and copy exe file path and past after mono, then your exe file execute...
然后在终端上写mono并复制exe文件路径并在mono之后过去,然后你的exe文件执行...
like
喜欢
apple-pc:~ Santosh$ mono /Users/Santosh/Downloads/Myapp/bin/Debug/Myapp.exe
apple-pc:~ Santosh$ mono /Users/Santosh/Downloads/Myapp/bin/Debug/Myapp.exe
回答by KM?n
I think you will have to install Mono Runtimeon target machine.
我认为您必须在目标机器上安装Mono Runtime。