[Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll

A.M. Abdelaziz amamh3 at gmail.com
Wed Dec 30 16:11:08 EST 2009


---------- Forwarded message ----------
From: A.M. Abdelaziz <amamh3 at gmail.com>
Date: Wed, Dec 30, 2009 at 8:02 PM
Subject: Re: [Mono-list] monodoc.dll looking for missing method in
mscorlib.dll
To: Jonathan Pryor <jonpryor at vt.edu>


well, for me, the only thing that is broken is mono from svn
either because its mscorlib.dll lacks that method or because its monodoc.dll
requires a method that actually doesn't exist.

I think that method does exist in mscorlib.dll as I tried
Console.WriteLine( typeof(string) == typeof(string) );
it compiled and ran fine
of course I compiled mono with the flag "--with-profile4=yes"

btw, there is something that I don't know how to do:
in monodevelop, I add mscorlib.dll as a reference (just to browse it) then I
browse to System.Type, I can't see methods like op_Equality, how can I see
them?
I guess op_Equality means overloading the == operator

On Wed, Dec 30, 2009 at 7:11 AM, Jonathan Pryor <jonpryor at vt.edu> wrote:

> Uh, what?
>
> On Wed, 2009-12-30 at 05:50 +0200, A.M. Abdelaziz wrote:
> >       * I have just installed openSUSE 11.2
> >       * dist-upgrade --repo mono-stable (the repo mentioned
> >         on mono-project.com)
> >       * mono, debugger, gtk-2.12, mono-tools from svn (all
> >         to /usr/local of course, did overwrite mono-stable)
>
> Not sure what you mean by this.  If you did a parallel install
> to /usr/local, what do you mean that you overwrote mono-stable?  The
> mono-stable repo should install to /usr, not /usr/local...
>
> > running "monodoc" and opening a page gives a warning then crashes, the
> > warning is:
> > ** (browser:22363): WARNING **: Missing method
> > System.Type::op_Equality(Type,Type) in
> > assembly /usr/local/lib/mono/2.0/mscorlib.dll, referenced in
> > assembly
> /usr/local/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll
>
> As an off-the-wall guess, I'd suspect a compiler/runtime issue with
> trunk.  Or something.
>
> Type::op_Equality() was added to .NET 4.0, so if you were using a 4.0
> compiler you'd get a reference to this method.  (I have no idea why
> you'd be getting a 4.0 compiler, hence my guess that it's a
> compiler/runtime issue.)
>
> On a mostly unrelated note, I've discovered that monodoc from the
> mono-stable repo is broken, as I get a different error when attempting
> to run it:
>
>        * (browser:462): WARNING **: Missing method
> Monodoc.RootTree::AddSource(string) in assembly
> /usr/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll, referenced
> in assembly /usr/lib/monodoc/browser.exe
>
>        Unhandled Exception: System.MissingMethodException: Method not
> found: 'Monodoc.RootTree.AddSource'.
>          at Monodoc.Browser..ctor (System.String basedir, IEnumerable`1
> sources, System.String engine) [0x00000]
>          at Monodoc.Driver.Main (System.String[] args) [0x00000]
>
> This (obviously) makes no sense to me -- how could browser.exe even
> build if that member were missing from monodoc.dll?
>
> Looks like an issue for our build mavens.
>
>  - Jon
>
>
>


-- 
A.M. Abdelaziz



-- 
A.M. Abdelaziz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091230/6ae81b08/attachment.html 


More information about the Mono-list mailing list