[Mono-winforms-list] System.IEquatable not loading?

OpticTygre jknott at opticonsolutions.com
Fri Mar 11 00:38:01 EST 2011

Trying to run a simple C# app on Ubuntu.  Project was built in Visual Studio
and copied over.  It also contains a .config file that references the

Problem is, every time I try to run it, I get the following error:

** (CrossPlatformTest.exe:2134): WARNING **: The class System.IEquatable`1
could not be loaded, used in mscorlib, Version=, Culture=neutral,

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.TypeLoadException: A type load exception has occurred.
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in :0 
  at CrossPlatformTest.Program.Main () [0x00000] in :0 

This application runs successfully on Mono for Windows as well as Mono for
Mac OSX.  Has anyone run across this issue on Ubuntu before?  Is there a way
I can download a newer version of Mono for Ubuntu?  What could be causing
this error, and how can I fix it?

Thanks for any help or advice!

View this message in context: http://mono.1490590.n4.nabble.com/System-IEquatable-not-loading-tp3347507p3347507.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list