[Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll
duane at wandless.net
Fri Jul 1 12:05:42 EDT 2011
What "bundling" process did you use? And what version of Mono are you
On Fri, Jul 1, 2011 at 12:00 PM, mc2008 <malumbo.chipeta at satmap.com> wrote:
> I have an app which uses System.Drawing.Image.FromFile. The method works
> without any problems when debugging the app through MonoDevelop. However,
> when the app (bundled with Mono) is running on a Mac which doesn't have
> installed, System.Drawing.Image.FromFile throws an exception:
> System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
> at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
> at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
> --- End of inner exception stack trace ---
> at System.Drawing.Image.FromFile (System.String filename, Boolean
> useEmbeddedColorManagement) [0x00000] in <filename unknown>:0
> at System.Drawing.Image.FromFile (System.String filename) [0x00000] in
> <filename unknown>:0
> Has anyone else encountered this error? If it's occurring because the
> bundling process didn't include gdiplus.dll, do you know where I can find
> this DLL?
> I would be most grateful to receive your suggestions.
> Many thanks.
> View this message in context:
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx