[Mono-list] cant find op_Inequality

Ian Norton ian.norton-badrul at thales-esecurity.com
Mon May 23 02:03:05 EDT 2011


Turned out that when I built gtk-sharp from source i used my trunk mono which
built gtk and friends for the 4.0 profile, quick rebuild of gtk with mono 2.10
fixed it.

Ian

On Sun, May 22, 2011 at 11:35:47AM +0100, Ian Norton wrote:
> Ah thanks, saw the #if for NET4.0, my makefile was generated by md2.4 so that explains it.
> 
> Ian
> 
> "Atsushi Eno" <atsushieno at veritas-vos-liberabit.com> wrote:
> 
> >Hello,
> >
> >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/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
> >>
> >> 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