i try to run a winaap on mac with mono.but i got this exception.
why this exception happend?
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form —> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus
—> System.DllNotFoundException: /Library/Frameworks/Mono.framework/ Versions/1.2.6/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 — . . .
Ultimately, you’re getting a
DllNotFoundException.Make sure that you’ve correctly installed the Mono Framework. It looks like there’s a problem loading one of the libraries for the GDI+ subsystem.