title: How do I reference assemblies outside the bin folder in an ASP.net application?
body: <p>I've a working XML Web service written in ASP.Net. Now I need to reference certain assemblies lying in a specific folder e.g. <code>c:\NotMyCode</code><br>
  I <strong>do not</strong> want to copy/duplicate zillions of dlls in that folder into my bin folder.</p>
  
  <p>I tried to keep the <code>CopyLocal=false</code> for the assemblies referred in the Web Service. That ended up in a FileNotFound exception for the assembly.
  When I switch to <code>CopyLocal=true</code>, the referenced DLLs are copied over to the bin folder.. and it works.</p>
  
  <p>So my question here is:
  How do I reference assemblies that do not lie in my bin folder or a subfolder beneath it ? Do I need to change some security policy files somewhere? I think I'm not the first person to ever want to do something like this.. so I'm assuming someone has already solved this problem.</p>
  
  <p>(I've tried impersonating an admin user in the IIS ASP.net configuration panel, but that didnt work either.)</p>
  
  <p>Update: <strong>Can't install it in the GAC either</strong>. To give an analogy, this web service is giving a simplified view to a third party app e.g. Starteam. I can't (shouldn't have to.. don't want to..) copy all the binaries in that folder to the bin folder or install it into the GAC</p>