[Mono-list] Havin trouble with winforms

Gustavo Ribeiro De Bonis ribeirogustavoti at gmail.com
Mon Mar 17 16:48:16 EDT 2008


Hi everybody,

I'm trying to compile and run a simple winform program just to practice 
and i receive this message when i do it.

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for 
System.Windows.Forms.WindowsFormsSynchronizationContext ---> 
System.TypeInitializationException: An exception was thrown by the type 
initializer for System.Windows.Forms.XplatUI ---> 
System.DllNotFoundException: libX11.so

i have X Window System installed, i also have gnome (v2.20.3) running on 
Fedora 8 (2.6.23.15-137.fc8) and finally mono 1.9.

How do i fix this?

Thanks, Gustavo.




More information about the Mono-list mailing list