[Mono-list] System.Windows.Forms is where exactly??

alienDog jp at pk.dy.fi
Wed Nov 9 05:58:33 EST 2011


I downloaded, compiled and installed Mono 2.10.2 on my Linux Mint 9 LXDE
system, because there is an app that I need to get running (MarcEdit).
MarcEdit requires the latest mono 2.10 to work, and since the mono in Mint 9
repositories is older, I decided to compile a new version from the source.
That worked ok and the compilation went fine, I installed mono under
/opt/mono-2.10. However when I try to start the app it says:

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename
unknown>:0
  at System.Windows.Forms.XplatUIX11.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.Application.EnableVisualStyles () [0x00000] in
<filename unknown>:0
  at MarcEdit.SubMain.Main (System.String[] args) [0x00000] in <filename
unknown>:0

I think this is due to the lack of Windows.System.Forms component in mono,
but where on earth can I get that? The only think I can find is this page:
http://www.mono-project.com/WinForms, but it doesn't have a download link or
anything like that. 

--
View this message in context: http://mono.1490590.n4.nabble.com/System-Windows-Forms-is-where-exactly-tp4019414p4019414.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list