[Mono-list] Mono search path
Wed, 28 Jan 2004 10:33:14 +0100
> export MONO_PATH=~/dev/nant/bin/
> mono NAnt.exe
> This doesn't work. I was very sure that when I tried this initially it
> did work, but after logging off and back onto Linux it's stopped
I usually create a wrapper script "nant" instead and place it somewhere in
exec /opt/mono/bin/mono /opt/nant/bin/NAnt.exe $*
(this works for mono installed in /opt/mono and NAnt installed in /opt/nant)
> Am I correct in assuming that MONO_PATH should be enough to find the
> 'exe' assembly?
> Do I need to set anything else?
I'm not sure. But since mono team are working on Global Assembly Cache
support it's likely things are going to change. MONO_PATH looks like a
temporary feature until the GAC is in place.