[Mono-list] Using Mono

Daniel Carrera dcarrera@math.toronto.edu
Fri, 29 Mar 2002 02:04:33 -0500 (EST)


Thanks for the help.
Yes, the CVS change did the trick.  Mono can now see libraries in the
current directory.

Now I'm getting a different problem:

[daniel@net104 daniel]$ mono ExampleComp.exe

(process:24626): ** ERROR **: file appdomain.c: line 325 (mono_init):
assertion failed: (mono_defaults.transparent_proxy_class != 0)
aborting...
Aborted


Running "mcs" produces the same error.  I can't recompile mcs because I
need csc for that.

Does anyone know what's happening?


Daniel.


On 29 Mar 2002, Miguel de Icaza wrote:

> > 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.
>