[Mono-dev] gacutil problem

Joshua Tauberer tauberer at for.net
Tue Jan 10 10:35:00 EST 2006


Paul F. Johnson wrote:
> I've compiled the MySQL connector and have run gacutil -i MySql.Data.dll
> which gacutil reports has been installed into the gac
> (/usr/lib/mono/gac).
> 
> When I try to compile using it thought, I get the error that mcs cannot
> find the assembly MySql.Data.

Something about mcs not using the GAC to find assemblies, but only 
looking at 'installed' packages with .pc files, or in 
/usr/lib/mono/1.0/.  You could specify the full path, or use -L.

Could we reevaluate exactly why we avoid using the GAC at compile time? 
  Lots of people have been confused by this behavior, I still don't 
understand how looking in particular places besides the GAC is any 
better than additionally looking in the particular place named the GAC. 
  If the developer is concerned about the version of the assembly found, 
he should be able to put the version in the /r option, and not rely on 
the right version (and no other version) actually being 'installed'.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **





More information about the Mono-devel-list mailing list