The way you should do this is to set the build path for both projects to the same bin directory ... preferable for a solution, not a project. Then just create all the projects in this folder. You can change this from the project settings.
Another method is to use a post-build step for a C ++ application that copies the DLL to the C # project folder. This way you are not actually changing any paths. You just copy the DLL. Be careful, because when you clean up your C ++ file project, you can still have a copy in the C # projec'ts bin directory, leaving you scratching your head about why things are not going as expected.
Alternatively, you can deploy the C ++ DLL to the system path (also as part of the post-build phase), but you will have the same problems as above.
For debugging, I would recommend them in the order presented.
MarqueIV
source share