Vra

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?

Was dit nuttig?

Oplossing

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.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top