What &quot;bundling&quot; process did you use?  And what version of Mono are you using?<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 12:00 PM, mc2008 <span dir="ltr">&lt;<a href="mailto:malumbo.chipeta@satmap.com">malumbo.chipeta@satmap.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I have an app which uses System.Drawing.Image.FromFile. The method works<br>
without any problems when debugging the app through MonoDevelop. However,<br>
when the app (bundled with Mono) is running on a Mac which doesn&#39;t have Mono<br>
installed, System.Drawing.Image.FromFile throws an exception:<br>
<br>
System.TypeInitializationException: An exception was thrown by the type<br>
initializer for System.Drawing.GDIPlus ---&gt; System.DllNotFoundException:<br>
gdiplus.dll<br>
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup<br>
(ulong&amp;,System.Drawing.GdiplusStartupInput&amp;,System.Drawing.GdiplusStartupOutput&amp;)<br>
  at System.Drawing.GDIPlus..cctor () [0x00000] in &lt;filename unknown&gt;:0<br>
  --- End of inner exception stack trace ---<br>
  at System.Drawing.Image.FromFile (System.String filename, Boolean<br>
useEmbeddedColorManagement) [0x00000] in &lt;filename unknown&gt;:0<br>
  at System.Drawing.Image.FromFile (System.String filename) [0x00000] in<br>
&lt;filename unknown&gt;:0<br>
<br>
Has anyone else encountered this error? If it&#39;s occurring because the<br>
bundling process didn&#39;t include gdiplus.dll, do you know where I can find<br>
this DLL?<br>
<br>
I would be most grateful to receive your suggestions.<br>
<br>
Many thanks.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638591.html" target="_blank">http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638591.html</a><br>

Sent from the Mono - OSX mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mono-osx mailing list<br>
<a href="mailto:Mono-osx@lists.ximian.com">Mono-osx@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-osx</a><br>
</font></blockquote></div><br>