Why doesn't my GTK# compiled binary (created with MonoDevelop) work on Windows?

跟風遠走 提交于 2019-12-24 02:44:10

问题


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?

Thanks


回答1:


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




回答2:


Install Visual C++ 2013 redistributable package x86 and gtk# for .net. See here.



来源:https://stackoverflow.com/questions/20891222/why-doesnt-my-gtk-compiled-binary-created-with-monodevelop-work-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!