[Mono-devel-list] Bride of GAC

Mike Kestner mkestner at ximian.com
Tue May 11 17:53:39 EDT 2004


On Tue, 2004-05-11 at 16:26, Todd Berman wrote:

> > I read everything posted on this subject (GAC) I still don't get why 
> > fully qualified paths to the assemblies are needed.  
>
> The best explanation I got from Gert was because of how nant works.
> 
> However, the resolving from the GAC is fairly broken in general.

Just to be clear.  This has nothing to do with GAC runtime resolution. 
This is a "compile-time" requirement. 

Miguel's requirement is to have the assemblies only located on disk in
one distinct location with no links or copies. We are putting the
assemblies into the GAC so that they can be found easily at runtime.

In order to compile against the assemblies, though, mcs has to be able
to find them based on a provided -r.  We will be providing .pc files
with references like:

Libs: -r
/usr/lib/mono/gac/glib-sharp/1.0.0.0_someobnoxiouskey/glib-sharp.dll
etc...

so that you can add a -pkg gtk-sharp and it will pull in the necessary
references so that mcs can locate the assembly to build your app.

-- 
Mike Kestner <mkestner at ximian.com>




More information about the Mono-devel-list mailing list