When trying to run even the most basic Windows Forms app on Linux or Mac (note: Windows works) I get this error message...
--------------------------------------------- [EMAIL PROTECTED]:~$ mono '/home/thevenin/Desktop/testme.exe' ** (/home/thevenin/Desktop/testme.exe:5767): WARNING **: Missing method get_DefaultFont in assembly /home/thevenin/mono- 1.2.3.1/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll, type System.Drawing.SystemFonts Gtk colorscheme read failure, using built-in colorscheme Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.MissingMethodException: Method not found: ' System.Drawing.SystemFonts.get_DefaultFont'. at <0x00000> <unknown method> at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000] at System.Windows.Forms.ThemeEngine..cctor () [0x00000] --- End of inner exception stack trace --- at <0x00000> <unknown method> at System.Windows.Forms.X11DesktopColors..cctor () [0x00000] ----------------------------------------------------------- As you can see, I'm using mono-1.2.3.1, and of course reference System.Windows.Forms from the GAC. I have tried setting Sharp Develop to target platform Mono 2.0 and even NET 2.0, yet neither resolve this. Any ideas? I'm running the latest version of Ubuntu btw.
_______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
