[Mono-osx] Anybody get Winforms to work on Mac OS X mono
matt jaffa
mjaffa at gmail.com
Thu Jun 22 17:14:00 EDT 2006
Hi,
When I try to run my compiled winform app on Mac mono I get this issue:
~/Documents/Test/Test matt$ mono Program.exe
Mono System.Windows.Forms Assembly [$auto_build_revision$]
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.XplatUI
---> System.DllNotFoundException: libX11.dylib
in (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads ()
in <0x00096> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0004d> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00073> System.Windows.Forms.XplatUI:.cctor ()--- End of inner
exception stack trace ---
in <0x00000> <unknown method>
in <0x0000b> System.Windows.Forms.Application:EnableVisualStyles ()
in <0x0000b> Test.Program:Main ()
I have seen help online where they tell you to try and change some
config files but still haven't gotten it to work. Does anybody have a
step by step way to get this working?
Thanks,
Matt
More information about the Mono-osx
mailing list