[Mono-osx] mono 2.0 RC1 dmg version (problems with Windows.Forms)

matteot matteo.tesser at gmail.com
Sat Sep 27 10:29:58 EDT 2008


Hi, I tried to install on test machine tiger (10.5.2) the dmg version of mono
2.0. A Windows Forms application procudeced the error reported below: It
seems that libgdiplus cannot be found. Is gdiplus not included within the
dmg package? 

Thanks,
Matteo


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.ThemeEngine --->
System.TypeInitializationException: An exception was thrown by the
type initializer for System.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An exception was thrown by the
type initializer for System.Drawing.KnownColors --->
System.TypeInitializationException: An exception was thrown by the
type initializer for System.Drawing.GDIPlus --->
System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/2.0/lib/libgdiplus.dylib
 at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
 at System.Drawing.GDIPlus..cctor () [0x00000]
 --- End of inner exception stack trace ---
 at System.Drawing.KnownColors..cctor () [0x00000]
 --- End of inner exception stack trace ---
 at System.Drawing.Color.get_Black () [0x00000]
 at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000]
 --- End of inner exception stack trace ---
 at System.Windows.Forms.ThemeEngine..cctor () [0x00000]
 --- End of inner exception stack trace ---
 at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined
() [0x00000]
 at System.Windows.Forms.Control..ctor () [0x00000]
 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor
()
 at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x00000]
-- 
View this message in context: http://www.nabble.com/mono-2.0-RC1-dmg-version-%28problems-with-Windows.Forms%29-tp19703208p19703208.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list