My VS2008 solution has the following setup.
- Program1
- Program2
- Common.dll (used and mentioned by both Program1 and Program2)
In debug mode, I like to set my output directory to Program Files \ Productname, because some code will get the EXE path for various reasons.
My problem is that when compiling Program1, it will give an error that it will not be able to copy Common.dll if Program2 is running. And vice versa.
The annoyance here is that I don’t even make changes to Common.dll often, but in 100% of cases it will try to copy it, and not only if there are changes. In the end, I have to close all the programs, and then create and run them.
So my question is: how do I only copy VS2008 Common.dll, if there are changes in the Common.dll project?
source
share