[Mono-devel-list] Using mono CVS

Rafael Teixeira monoman at gmail.com
Tue Nov 9 12:19:15 EST 2004


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,

On Tue, 9 Nov 2004 11:54:37 -0500, christophe barbe
<christophe at cattlegrid.net> wrote:
> On Tue, Nov 09, 2004 at 11:43:29AM -0500, christophe barbe wrote:
> > I should precise that I try to add -r:Mono.Xml.Ext without success. I am
> > confused by how mcs is supposed to find assemblies. Is the location of
> > the gac set in mcs at compile time? Is it looking for the GAC using the
> > LD_LIBRARY_PATH?
> 
> The same thing works with "using Commons.Xml.Relaxng;" with the
> -r:Commons.Xml.Relaxng parameter.
> 
> ~$ /usr/local/bin/gacutil -l | egrep "Relax|Ext"
> Commons.Xml.Relaxng, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
> Mono.Xml.Ext, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> 
> Christophe
> 
> --
> Christophe Barbé <christophe.barbe at ufies.org>
> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E
> 
> Dogs believe they are human. Cats believe they are God.
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
Just the 'crazy' me in a sane world, or would it be the reverse? I dunno...



More information about the Mono-devel-list mailing list