The simplest thing to do is, of course, to put the assembly in /bin like a normal person. If for some reason you find yourself needing to reference assemblies from another path, there's the assemblyBinding
tag you can put in web.config to cause it to look elsewhere.
reference an assembly not in /bin or in the GAC
-
12-07-2023 - |
Question
I want to load a managed DLL that's neither in my application's /bin directory nor in the GAC. Is there a way add it to system.web/compilation/assemblies
in web.config by path?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow