My VS2008 solution has the following setup.
- Program1
- Program2
- Common.dll (used and referenced 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 Program1 when compiled, will give an error that it could not copy Common.dll if Program2 is started. And vise versa.
The annoyance here is that I don't even make changes to Common.dll that often, but 100% of the time it will try to copy it, not only when there are changes. I end up having to close all programs, and then build and then start them.
So my question is, how can I only have VS2008 copy the Common.dll if there are changes inside the Common.dll project?