问题
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