[Mono-osx] Failing to run WinForms hello.cs on OS X

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Fri Oct 3 11:26:17 UTC 2014


> From: mono-osx-bounces at lists.ximian.com [mailto:mono-osx-
> bounces at lists.ximian.com] On Behalf Of kai
> 
> The second hello.cs, using WinForms, crashed on execution with the stack
> dump in the attached file.

It's not recommended to use WinForms on OSX or Linux.  (Or windows, for that matter, although, winforms on windows, is reliable and not going away anytime soon, so it's ok).  Winforms on mono is based on X11, which is no longer safe to assume is present or running on a mac or linux system.  Also winforms on X11 is very buggy.  So winforms on windows is stable and not going away...  Winforms on mono is both unstable, and going away.

On windows, it would be recommended to use WPF instead, 
and on OSX http://developer.xamarin.com/guides/mac/getting_started/hello,_mac/, 
and on Linux http://www.mono-project.com/docs/gui/gtksharp/ 


More information about the Mono-osx mailing list