I have a pinvoke wrapper of some native dll. Both wrapper and dll are located in Libraries in my solution folder. I can add .NET wrapper as reference to the project but what should I do to make native dll available in output folder? For now I just copied it manually, but I am pretty sure there a more appropriate way.
Share
In Visual Studio you could include it as part of the project and in the properties window set the
Copy to Output DirectorytoCopy always. This will copy the native library to the output folder (DebugorRelease) based on the mode you are targeting. If this is an ASP.NET application you might need to deploy the native library into some system folder which is part of the PATH environment variable.