为什么我的GTK#编译的二进制在Windows上工作(与MonoDevelop的创建)?我的、工作、Windows、GTK

2023-09-05 03:37:15 作者:夜雨声烦.

我在我的Mac使用的MonoDevelop(Xamarin)C#项目。从我读过,看来Windows应能够运行.exe文件,如果已安装.NET。但是,没有这样的运气。在得到这个.exe文件的指针在Windows上运行?

I created a C# project using MonoDevelop (Xamarin) on my Mac. From what I've read, it seems that Windows should be able to run the .exe if it has .Net installed. However, no such luck. Any pointers on getting this .exe to run in Windows?

感谢

推荐答案

从MonoDevelop中,与项目打开,单击项目,然后设置。在构建标志,单击一般。更改目标框架到.NET 4.0客户端配置文件。确保单是安装在Windows上。

From monodevelop, with the project open, click Project, then settings. Under the build flag, click general. Change the target framework to .NET 4.0 Client Profile. Make sure mono is installed on windows.

http://www.go-mono.com/mono-downloads/ download.html