Hi All,
We are creating a shared libraries which is basically wrapper over the Microsoft Application Blocks (Caching, Logging etc).
I am trying to make this library available to multiple ASP.Net application.
This library is deployed in a shared foler.
I have created a custom Container which will be used by all ASP.net application to use any service (logging, caching) etc from Library. Location of the Library Folder is used by the container to locate the library dll.
All the configuration for the Application Block is in app.config which is loaded dymanically by the Application blocks.
The problem i am facing is that the Configuration tries to load the Application block assuming that Application Block Dlls will stored in the GAC but For some reason I cannot place the application block assemblies in GAC. I have them in the same folder as Library Dll.
Because of this, the Library Dll is not able to load the Application Block. I think one way of resolving this is to Specify the CodeBase element in the runtime section in Machine.Config. I would like to know if there is any better way where in I can specify the location of the Application blocks dlls in Config file.
Any thoughts?
Regards,