[Mono-list] cant find op_Inequality
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
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.
> "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