[Mono-list] Using Mono

Miguel de Icaza miguel@ximian.com
29 Mar 2002 01:12:10 -0500


> 2) Second quesiton:
> 
>    How do I tell Mono to look for the library in the current directory?
> 
> prompt]$ mono ExampleComp.exe
> 
> (process:13123): ** WARNING **: Could not find assembly Complex
> /usr/local/lib/Complex.dll
> Can not open image ExampleComp.exe

I have committed a change to CVS that makes Mono look for referenced
modules in the same directory where the main assembly is.  This sounds
like the right thing to do.

You can get assembly.c and assembly.h from mono/mono/metadata in CVS and
patch your mono-0.10 release with those files, that should fix it.

Miguel.