Question

Can I put my "bin" folder with all of its .dll files at a higher level then the IIS Local Path/web root for the site? I need to keep my dll files in a directory outside of my project is this 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 provided here: adding .net code to a classic asp website, can't reference namespaces in .dll file

Was it helpful?

Solution

No, you cannot. Maybe the GAC will work.

OTHER TIPS

This CH article outlines how to go about setting up the web.config to probe for multiple bins, maybe this could help:

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

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

<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <probing privatePath="MyCoolNewPath/bin" />
  </assemblyBinding>
</runtime>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top