[Mono-list] GAC-only installation?

Jaroslaw Kowalski jaak@zd.com.pl
Fri, 30 Apr 2004 23:35:47 +0200


I've noticed that under the new build system some libraries are only
installed into GAC.
That means that there's no longer "/usr/lib/System.*.dll" that could be used
for compilation as a reference.

That means I have to do:

export MONO_PATH=~/src/mcs/class/lib/default/

before I can even run "mcs -r System.Data.dll xxx.cs"

MS keeps the second copy of each system dll in the same directory where
csc.exe is located (C:\WINNT\Microsft.NET\Framework\v1.1.4322) for the sole
purpose of referencing it during compilation. Note that MS doesn't allow you
to reference dlls in the GAC.

Are you planning to have a similar structure in mono-1.0? If not, what will
the setup look like? I would vote for a flat directory where "mcs.exe" and
all libraries are kept - just because it's simple and familiar to csc.exe


BTW. Because of this issue, NAnt/CVS is no longer runnable on Mono ;-(