[Mono-list] making the windows path relative
Paolo Molaro
lupus@ximian.com
Mon, 20 May 2002 16:51:28 +0200
On 05/20/02 Guenther Roith wrote:
> > The code to handle the MONO_PATH environment var was added also for this
> > reason: just set it to the path where the runtime was installed
>
> I'm not really sure, but if memory proves me right, there is a little
> problem with this.
> Think about an application (say test.exe) that uses test2.dll. Both are in
> the same directory.
This has nothing to do with the default assembly dir path.
> Mono does now search for this assembly (test2.dll) only in the MONO_PATH,
> not in the current directory.
Mono will look also in the same dir where it loaded the referenced
assembly. Do you have a test that fails or are you just wondering about
it? If you find the above scenario to fail, file a bug in bugzilla
(I can't remember if the new code is in mono 0.11, it definitely works
with mono from cvs).
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better