0

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?

1 Answers1

0

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?

Community
  • 1
  • 1
  • I don't think these answers talk about native dll loading –  Jun 03 '15 at 10:17
  • I didn't notice that it was *only* the native dlls you wanted in another folder - thought it was that mix of managed/unmanaged. Can't you just add the folder to the %PATH%? http://stackoverflow.com/questions/21710982/how-to-adjust-path-for-dynamically-loaded-native-dlls – Dave Knight Jun 03 '15 at 10:58