[Mono-dev] problem with System.Windows.Forms
Paolo Molaro
lupus at ximian.com
Wed Feb 15 10:56:59 EST 2006
On 02/15/06 amru rosyada wrote:
> I have problem in using System.Windows.Forms with this simple code :
[...]
> The compiling is succeed but when I ran it,
> I had any problem like this (please tell me what I miss):
> thakns before!
>
> amru at hikari:~/C#$ mcs TestApp.cs
> -r:System.Windows.Forms.dllamru at hikari:~/C#$ mono TestApp.exe
> Testing! 1,2,3
>
> 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: gdiplus.dll
Did you install the libgdiplus package? Or chec the libgdiplus
module if you installed from svn.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list