dan
dan

Reputation: 45622

Is it possible to write a GUI desktop app in F# + mono on Mac and have it run without modification on Windows?

I'm interested in developing desktop apps for Windows, but it would be most convenient if I could develop these apps on my Mac OS X Air laptop, without running a virtualization environment. How far can you get developing Windows GUI Desktop apps using mono and F# on OS X?

Upvotes: 6

Views: 1392

Answers (2)

Asik
Asik

Reputation: 22133

You could use a cross-platform UI toolkit. Monodevelop uses GTK#, there are probably others. It'll run everywhere without modification but will look somewhat alien everywhere. That's the tradeoff you make for not having to make a different UI per platform.

Instructions for using F# from Monodevelop are detailed here. Hopefully with that you should be good to go!

Upvotes: 0

skolima
skolima

Reputation: 32684

If you aim for WPF - not far. Sadly, you will have problems with WPF even in a virtualized Windows environment, as it uses 3D acceleration.

Sticking to the "traditional" Windows Forms works, but they are not the preferred way to create new applications nowadays.

Upvotes: 1

Related Questions