xsp2 shows a server error "Could not load file or assembly 'cammWM' or one of its dependencies. The system cannot find the file specified. File name: 'cammWM' at System.AppDomain.Load (...."
What I'm doing: I'm trying to access a test.aspx file which doesn't requires a reference to my cammWM.dll - just a simple hello world aspx file. But I've placed a few additional files into the web root folder which contain references to the cammWM.dll. The bin folder with my cammWM.dll has been dropped for this test.
But I don't want the whole application to work, I just want to get my test.aspx running. And therefore, it doesn't need to compile the whole web application at first.
How can I convince XSP2/mod_mono to compile/load only these files which are required for the current request?
I think Mono does follow what Microsoft does in .NET,
http://msdn.microsoft.com/en-us/library/ms366723.aspx
See "Compilation Dependencies" section.
If your top items require that assembly, Mono should search for it on first request.