I am wondering if anyone can help me with an issue that I have with the current build process on my project. The project is using VS2005 mostly in C# but also in C++. For each project in the HUGE solution that we have, we are copying the dll(s) and exe(s) [units and final] to the main bin directory in the project structure. This works great, but the problem is that, whenever I make a change and go to test it, the compile takes forever because VS2005 is still copying the dlls for every project, even though only one file got changed that affected nothing else except its own project.
The way we are doing this is that, in the Properties for any given project, we have the following copy commands:
For C#: Post-build event command line: copy $(TargetFileName) ..\..\..\..\$(ConfigurationName)\bin\$(TargetFileName)
For C++: Configuration Properties/Build Events/Post-Build Event: copy $(OutDir)\$(ProjectName).dll ..\..\$(ConfigurationName)\bin\$(ProjectName).dll
This does not seem to allow for checking whether these dlls and exes have actually been changed or not. I am not sure if there is an undocumented switch for copy which will allow for this check, but I don't think so. Is this the only way to have these copies made? or is there a better way: one that is actually smart, and checks whether the copy even needs to happen.
I am so over this whole build routine. Please someone, help me here... Bruce