[Mono-devel-list] Any reason to use /root option gacutil ?

Atsushi Eno atsushi at ximian.com
Mon Aug 30 01:22:54 EDT 2004


I noticed this problem while building mbuild.

Is there any reason we use /root option by default to install
assemblies into the GAC? If no, then we should recommend developers
not to use /root option for their projects.

I think, if it is desirable not to use /root by default, since
every time we use mono on Windows, /root option requires its
parameter path to be "windows path" (i.e. if you specify "/root
/usr/local", then it tries to install (e.g.) c:/usr/local/lib/blah).
But IMHO it should not be developer-side matter to escape parameters
of the /root option.

In mcs, we avoid this problem on Makefile side (library.make), but
mcs is a special case - it is also such a package that
might not have been installed to the target location, while it
is required to run its own gacutil.

If it requires runtime changes, I guess the GAC directory could be
infered from mono runtime location like we partly do for mono on

Just my 2 yen.

Atsushi Eno

More information about the Mono-devel-list mailing list