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

Jonathan Pryor jonpryor at vt.edu
Wed Dec 30 00:11:05 EST 2009


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




More information about the Mono-list mailing list