[Mono-devel-list] Assembly resolution for monop

John Luke john.luke at gmail.com
Wed Nov 10 00:26:36 EST 2004

On Tue, 09 Nov 2004 23:52:38 -0500, Ben Maurer <bmaurer at ximian.com> wrote:

> One of the many uses of monop is to browse the gtk# classes. However,
> with the GAC, it is very hard to look at gtk-sharp.dll.

What do you mean by "very hard to look at gtk-sharp.dll

> I am wondering if I can get advice for:
>       * What I need to do to make it easier for users to browse gtk#
>         assemblies especially, but also other assemblies that use all of
>         the versioning features we have provided
>       * How to cope with || installs?
>       * Any other things that I need to add to monop to cope with the
>         GAC.

You can specify either the full path to an assembly, or the full
AssemblyName to load a specific version (at least it should work with
monop).  I agree it would be nice to make it easier. Perhaps by
default you get the latest possible version visible to monop, and
there is a version option where you restrict it by 1.X or 1.2.X etc. 
Although, the reflection API doesn't seem to provide an easy way to do
this if I remember correctly.

monop -r:gtk-sharp (gives you latest in GAC)
monop -r:gtk-sharp -version:1 (gives you latext 1.x)
monop -r:gtk-sharp -version:1.0 (gives you latext 1.0.x)

I'll add that the 1.1 compiled monop cant browse the 2.0 assemblies
(or anything compiled with gmcs) perhaps it should be compiled to do

More information about the Mono-devel-list mailing list