Set location of DLLs to load in web.config Set location of DLLs to load in web.config oracle oracle

Set location of DLLs to load in web.config


You can use the dependentAssembly element to specify where a dll lives through the codeBase element.

However, I believe this needs to be a valid URL.

Example from MSDN:

<configuration>   <runtime>      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">         <dependentAssembly>            <assemblyIdentity name="myAssembly"                              publicKeyToken="32ab4ba45e0a69a1"                              culture="neutral" />            <bindingRedirect oldVersion="1.0.0.0"                             newVersion="2.0.0.0"/>            <codeBase version="2.0.0.0"                      href="http://www.litwareinc.com/myAssembly.dll"/>         </dependentAssembly>      </assemblyBinding>   </runtime></configuration>


Probing paths let you specify where an application should look for assemblies. This won't affect putting things in the GAC, but gives you an alternative to storing everything in the bin folder.

http://msdn.microsoft.com/en-us/library/823z9h8w.aspx