I have a working c++ dll that works in one c# project that I am calling via the interop service. I have created another c# project and am trying to call the same .dll but keep getting a generic error message stating that the .dll cannot be found, both project are .net 2.0. What folder, and where do I specify in the project, should I put the .dll file in so that the project can find it?
Think of it as a reminder for me…
In the previous project I did not have a reference to it, I just had it in the /bin folder and doing the same thing for this project does not work.
Thanks R.
Make sure all the DLLs that the DLL in question depends on, are also in the same directory as the exe that uses the DLL.