[Mono-list] Problem with MS .NET 1.1 dll in Mono

Pavel Jbanov pavel.jbanov@shaw.ca
Fri, 21 Jan 2005 14:14:20 -0700


On Fri, 2005-01-21 at 04:13, Amish Munshi wrote:
> I dont guess this is a bug. Did you restart the application server after 
>   adding the dll's in the bin directory?
> Also the dll's need to be at /bin application server.

To make things work, I've just replaces MS compiled dlls with Mono ones,
without restarting. As far as I know, dlls from /bin directory are
(re)loaded automatically.

On Thu, 2005-01-20 at 11:52, Weston Cerny wrote: 
> you probably are not looking in that bin directory when you run xsp.  
> You need to add a *.webapp file for each directory you would like to use 
> to contain aspx files/bin directories.
> I run xsp from a directory which contains an Example directory i have a 
> file in the root directory named Example.webapp.  It contains this
> <web-application>
>         <name>Example</name>
>         <vpath>/Example</vpath>
>         <path>Example</path>
>         <!-- vhost and port are ignored in xsp.exe -->
>         <vhost>my.host.name</vhost>
>         <vport>8080</vport>
>         <!-- <enabled> is true by default -->
>         <!-- <enabled>false</enabled> -->
> </web-application>
> 
> I invoke xsp like this
> #xsp --appconfigdir .
> 
> hope this helps.

I was running it under mod_mono. I didn't have any configuration problems
because all "normal" dlls were (re)loading without problems from /bin directory.
The problem occurred only with MS compiled.

On Thu, 2005-01-20 at 11:55, Aleksandar Dezelin wrote: 
> You must disable debug info and incremental compilation when compiling
> you dll with csc becose mono runtime doesn't know how to interpret it
> aditional data in the assembly.
> 
> That's all I know regarding this.

This is the most probable cause. The only strange thing is the type of the
exception, something like FileNotFoundException. Why is that?

-- 
Pavel Jbanov
http://www.spicesoft.com/~pavel/