[Mono-devel-list] Bride of GAC

Todd Berman tberman at sevenl.net
Tue May 11 18:49:34 EDT 2004


On Tue, 2004-11-05 at 18:42 -0400, Jonathan Pryor wrote:
> <snip/>
> > However, the resolving from the GAC is fairly broken in general.
> 
> The problem, as I understood it, wasn't that resolving from the GAC is
> "broken".  The problem is one of portability and "buy-in".
> 
> If we resolved from the GAC, mcs would require assembly references such
> as ``"/r:System, Version=1.0.5000.0, PublicKeyToken=b77a5c561934e089"''.
> 
> Obviously, this won't be accepted by Microsoft CSC.EXE, at least not
> immediately.  Plus, all other compiler vendors would need to "buy-in" to
> this approach.  Plus, it's verbose as hell, and complicates the life of
> Nant, as it needs to keep track of the full version, public key token,
> culture, etc.
> 
> Compare the above to the current situation, where we do:
> 
> 	-L <some-path> -r:System.dll
> 

That wont work. System.dll will *always* be the one in
$prefix/lib/mono/1.0/ for mcs. The AppBase is (well, should be) checked
first for libraries, and that is the one it will find, before any -l
stuff.

--Todd

> Want a different version?  Change <some-path/>.  Fairly easy, and all
> existing compilers already support this syntax.
> 
>  - Jon
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list