Walrus the Cat
Walrus the Cat

Reputation: 2404

How to compile windows binary on OSX

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)

Upvotes: 0

Views: 304

Answers (2)

yasirmturk
yasirmturk

Reputation: 1954

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/

Upvotes: 0

Ashley Medway
Ashley Medway

Reputation: 7301

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.

Upvotes: 0

Related Questions