简体   繁体   中英

Load native DLLs for third-party framework

I have Asp.Net App which needs a third-party framework (consisting of few managed and loads of native dlls) for a specific functionality.

I want to place all native dlls in another folder outside the bin folder of my web app. Is there a way to tell the third-party managed dlls to load this native dlls from a specific directory? The managed framework itself provides no such function.

What are my options?

I think this question may already have been answered:

How to add folder to assembly search path at runtime in .NET?

Or perhaps for a couple of other options:

load a DLL reference from a different folder?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM