Problem with VS2005 solution with one dll and one exe
-
I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom
-
I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom
-
I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom
Hi, You can use custom build step for copying the DLL to destination folder. Go to "Project | Properties | Custom Build Step | Command Line". Enter Copy command. Hope this will help you. Regards, Paresh.