[Mono-list] cant find op_Inequality

Ian Norton inb at ncipher.com
Sun May 22 06:35:47 EDT 2011

Ah thanks, saw the #if for NET4.0, my makefile was generated by md2.4 so that explains it.


"Atsushi Eno" <atsushieno at veritas-vos-liberabit.com> wrote:

>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
>> 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
>> 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

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

More information about the Mono-list mailing list