Third party dll can't find its dependencies in ASP.NET MVC project

后端 未结 3 691
难免孤独
难免孤独 2021-01-15 01:40

I use third party library in my project. Call it like MainLibNET.dll. I added this library in References of my project. This dll has dependencies w

3条回答
  •  深忆病人
    2021-01-15 01:58

    Managed assemblies get shadow copied by ASP.NET. This process doesn't include unmanaged libraries which explains why they cannot be resolved. One possibility is to add those native libraries into the c:\windows\System32\Inetsrv folder. Another possibility is to put them into a folder which is part of the PATH environment variable.

提交回复
热议问题