[Mono-devel-list] XSP - ASP.NET and /bin folder

Olof Härwell olof.harwell at labs2.com
Wed Oct 8 04:57:06 EDT 2003


You should also check the:

- AppDomain.CurrentDomain.SetShadowCopyPath(string paths)
Make sure your dlls are copied to the temporary folder

- AppDomain.CurrentDomain.AppendPrivatePath(string path)
Add the folder to the assembly lookup paths.

methods if you want to add DLLs that is not registered in the GAC and 
not in the /bin directory. The still needs to reside under the webroot 
due to security/appdomain reasons.

Cheers
Olof


yoros at wanadoo.es wrote:

> On Tue, Oct 07, 2003 at 11:20:38PM -0400, Cezar Nasui wrote:
> 
>>Hi,
>>
>>Could someone please tell me if there is a way to access from an aspx
>>page a DLL that is NOT in the /bin.
>>I know on Win you can place it on GAC using gacutil.exe ...there is such
>>a tool on Mono?
>>There are other options?
>>
>>I need to be able to place the dll outside the /bin, in the
>>application's directory, where the aspx page is,
> 
> 
> Yes, you can, you can put the dlls together with the aspx files but
> we're working with some environment troubles. Please wait a week and try
> to load an assembly in the same dir as the .aspx page.
> 
> See you,
> 
>     Pedro
> 

-- 
/*
   Olof Härwell
   Systems Architect
   Labs2 AB

   Direct:   +46 46 540 01 10
   Mobile:   +46 70 941 20 10
   Phone:    +46 46 13 74 25
   Fax:      +46 46 13 74 26
   Address:  Winstrupsgatan 1, SE-222 22 Lund, Sweden
   Internet: http://www.labs2.com
*/




More information about the Mono-devel-list mailing list