Hi,
I am trying to run an exe file with mono on redhat linux.
The exe file is running fine on windows xp. With mono, it is giving the following error. Kindly help.
Thanks and Best Regards,
Sanjay
--> mono example.exe
Unhandled Exception: System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for Script ---> System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for System.Windows. Forms.XplatUI ---> System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for System.Drawing. GDIPlus ---> System.DllNotFo undException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing. GDIPlus:Gdiplus Startup (ulong&,System. Drawing.Gdiplus StartupInput&,S ystem.Drawing.G diplusStartupOu tput&)
at System.Drawing. GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing. Graphics.FromHd cInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1..ctor () [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUI.. cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows. Forms.Applicati on.EnableVisual Styles () [0x00000] in <filename unknown>:0
at Script..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Program.Main () [0x00000] in <filename unknown>:0
Exit 1
I am trying to run an exe file with mono on redhat linux.
The exe file is running fine on windows xp. With mono, it is giving the following error. Kindly help.
Thanks and Best Regards,
Sanjay
--> mono example.exe
Unhandled Exception: System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for Script ---> System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for System.Windows. Forms.XplatUI ---> System.TypeInit ializationExcep tion: An exception was thrown by the type initializer for System.Drawing. GDIPlus ---> System.DllNotFo undException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing. GDIPlus:Gdiplus Startup (ulong&,System. Drawing.Gdiplus StartupInput&,S ystem.Drawing.G diplusStartupOu tput&)
at System.Drawing. GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing. Graphics.FromHd cInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1..ctor () [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUIX1 1.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows. Forms.XplatUI.. cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows. Forms.Applicati on.EnableVisual Styles () [0x00000] in <filename unknown>:0
at Script..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Program.Main () [0x00000] in <filename unknown>:0
Exit 1
Comment