为什么我的GTK#编译的二进制在Windows上工作(与MonoDevelop的创建)? [英] Why doesn't my GTK# compiled binary (created with MonoDevelop) work on Windows?

查看:118
本文介绍了为什么我的GTK#编译的二进制在Windows上工作(与MonoDevelop的创建)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的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

这篇关于为什么我的GTK#编译的二进制在Windows上工作(与MonoDevelop的创建)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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