[Mono-osx] Exception on System.Drawing.GDIPlus when Built for Mac App Store.

mateyboy john.tear at me.com
Fri Dec 30 06:59:20 EST 2011


The following code is causing me some headaches:

*private void MyMethod(string Filename)
  Bitmap bmp = null;
     // load the qr stuff
     bmp = new Bitmap(Filename);
     // etc...*

When I run it in the debugger/ide I have no issues, however when I build the
app and create an installer for the Mac App store I get the following

*An exception was thrown by the type initializer for System.Drawing.GDIPlus*

This seems like some sort of configuration issue, or maybe a all isn't being
put in the build. Any help to resolve this would be greatly appreciated.


View this message in context: http://mono.1490590.n4.nabble.com/Exception-on-System-Drawing-GDIPlus-when-Built-for-Mac-App-Store-tp4245601p4245601.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list