[Mono-list] monodevelop & the GAC

Todd Berman tberman@off.net
Sun, 02 Jan 2005 11:14:20 -0800


On Sun, 2005-01-02 at 13:16 -0500, Adam Tauno Williams wrote:
> I believe I have installed an assembly into the GAC -
> laptop01:/home/awilliam/Documents/SubSystems/Mono/bin # gacutil -i
> CookComputing.XmlRpc.dll
> CookComputing.XmlRpc installed into the gac (/usr/lib/mono/gac)
> awilliam@laptop01:~/Documents/SubSystems/Mono/bin> gacutil -l | grep -i
> cook
> CookComputing.XmlRpc, Version=0.9.0.0, Culture=neutral,
> PublicKeyToken=a7d6e17aa302004d
> 
> But in monodevelop this assembly does no appear in the 'add references'
> dialog under the GAC tab.  I have restarted monodevelop, but it has no
> effect.
> 
> Is there some file I must refresh somehow or is this a monodevelop bug?
> 

Please use the monodevelop-list for monodevelop questions.

This is not a monodevelop bug. MonoDevelop simulates mcs' assembly
loading, and mcs would be unable to find that assembly. You have to have
a .pc file that has a proper Libs: line for MD to be able to find this
dll, which will cause it to use -pkg:whatever when it calls mcs to
compile.

--Todd