[Mono-list] cant find op_Inequality

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Sun May 22 05:06:14 EDT 2011


You get this exception because there is no op_Equality() in 2.0 runtime 
API i.e. it is 4.0-only. And your application's profile is
likely based on Mono/.NET3.5.

If you are using MonoDevelop, change the project property
(build->"runtime version") to .Mono/.NET 4.0 (you may need
MD 2.6 beta2, I'm not sure).

Atsushi Eno

> Hi, I've just built myself a mono and moonlight from github and built gtk-sharp
> and have started getting this:
> Missing method System.Type::op_Inequality(Type,Type) in assembly
> /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
> /usr/local/lib/mono/gac/gtk-sharp/
> I can manually get gtk and moonlight.gtk running fine using the csharp repl
> shell. I cant quite work out why I would get this. I encounter it when I call
> code in one of my assemblies that invokes gtk-sharp and moonlight.gtk
> Ian
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list