My managed application has several dependencies on unmanaged DLLs. Despite the fact that my unmanaged DLL files are deployed in my bin folder, they do not load. I have already found (hopefully) an outdated SO post that lists two possible solutions :
- add dll to known search path (e.g. \ System32 \ Inetsrv)
- add my bin folder to the PATH folder
However, I don't like any solution because it basically adds dependency outside my deployment folder (= outside my jurisdiction). Can't I know IIS for loading an unmanaged DLL (e.g. via web.config)?
source
share