I have C# wrapper code that calls functions from a native (C++) dll. Currently, I can add a reference to the C# dll and have set the \'Copy Local\' option to true. However t
If you're OK with the created "Libs" folder, you can try adding it to the probing path for your application, by adding the following in the app.config
file:
This will cause the runtime to look in all the specified directories for the DLL.
EDIT Unfortunately, this does not impact the unmanaged DLL loading by DllImport.