问题
I did a C# project on my Mac using Xamarin Studio. I need the binary to run on Windows. Right now it's using a gcc compiler. How do I get a Windows binary out of this? (Pretty sure I need to use mingw)
回答1:
Xamarin Studio builds the exe
/dll
for you automatically.
In your projects directory E.G. /Users/ashleymedway/Projects/TEST/TEST
.
Browse to Build/Debug
or Build/Release
depending on your configuration profile.
You will see the complied app/library. E.G Test.exe
The executable found here for a test console app ran fine in Windows 8 for me.
回答2:
Because Windows Phone apps can only be developed on Windows, it is impossible to develop for all three platforms on the same operating system
http://docs.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/part_1_-_understanding_the_xamarin_mobile_platform/
来源:https://stackoverflow.com/questions/20876143/how-to-compile-windows-binary-on-osx