Asp.net external cart website

Can I put my "bin" folder with all its DLLs at a higher level than the local IIS path / web root for the site? I need to store the dll files in a directory outside of my project, it's possible, I tried to use a virtual directory, but .net seems to ignore it.

Can I use a virtual directory for my bin folder?

DUPLICATE: More info here: adding .net code to classic asp website, can't reference namespaces in dll file

+1


source to share


3 answers


No, you cannot. Maybe the GAC will work.



+1


source


You can. You will need to modify the config file for your application to find out the location:



<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <probing privatePath="MyCoolNewPath/bin" />
  </assemblyBinding>
</runtime>

      

+1


source


This CH article talks about how to configure the web.config to search for multiple trays, maybe this can help:

http://www.codinghorror.com/blog/archives/000131.html

0


source







All Articles