I have many web applications in a Visual Studio solution.
All have the same post build command:
xcopy "$(TargetDir)*.dll" "D:\Project\bin" /i /d /y
It would be useful to avoid replacing newer files with old ones (e.g. someone could accidentally add a reference to an old version of a DLL).
How can I use xcopy to replace old files only with newer DLL files generated by Visual Studio?