[Mono-devel-list] Using mono CVS

christophe barbe christophe at cattlegrid.net
Tue Nov 9 13:26:05 EST 2004


On Tue, Nov 09, 2004 at 03:19:15PM -0200, Rafael Teixeira wrote:
> You need to fully qualify your assembly reference. Something like:
> 
> mcs -r:/usr/local/lib/mono/1.0/Mono.Xml.Ext.dll ...
> 
> Your MONO_PATH is a bit too short to help here (also it may be
> dangerous).  It should be
> /usr/local/lib/mono/1.0 to make any difference.
> 
> I'm far from my mono station, to check, if Mono.Xml.Ext is installed
> on lib/1.0 or lib/2.0, but just adjust my advice to the proper path.
> 
> And GAC is only used for runtime execution, you shouldn't reference
> anything inside the GAC.
> 
> Hope it helps,

Thanks. It helps to clarify the interaction between mcs and the gac. 
It still fails to compile but it made me ralize that the namespace I want
to use is Mono.Xml.XPath2 not Mono.Xml.Ext which is just the name of the
dll which contains the code for Mono.Xml.XPath2. Or at least which
should contains the code for Mono.Xml.XPath2. The same thing works when
I try "using Mono.Xml.XPath;" so guess it means that Mono.Xml.XPath2 is
not present in Mono.Xml.Ext.dll.
I will look closer at the compilation of Mono.Xml.Ext.dll.

Thanks for the help,
Christophe

-- 
Christophe Barbé <christophe.barbe at ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

L'experience, c'est une connerie par jour mais jamais la même.



More information about the Mono-devel-list mailing list