« Return to Thread: mono 2.0 RC1 dmg version (problems with Windows.Forms)

mono 2.0 RC1 dmg version (problems with Windows.Forms)

by matteot :: Rate this Message:

Reply to Author | View in Thread

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]

 « Return to Thread: mono 2.0 RC1 dmg version (problems with Windows.Forms)