[英]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. 我有Asp.Net应用程序,该应用程序需要特定功能的第三方框架(由少数受管理的dll负载和本机dll的负载组成)。
I want to place all native dlls in another folder outside the bin folder of my web app. 我想将所有本机dll放在Web应用程序的bin文件夹之外的另一个文件夹中。 Is there a way to tell the third-party managed dlls to load this native dlls from a specific directory?
有没有办法告诉第三方托管的dll从特定目录加载此本机dll? 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? NET中如何在运行时将文件夹添加到程序集搜索路径?
Or perhaps for a couple of other options: 也许还有其他一些选择:
load a DLL reference from a different folder? 从其他文件夹加载DLL参考?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.