I use MSBuild to publish a website, and then copy the published website to a web server on the same network. I set the copy command to "SkipUnchangedFiles".
This works smoothly, but Skip Unchanged will not work, because when I use AspNetCompiler to publish a website, each file is “new” - its date is set at the time of publication, so even if the contents of this file have not changed, the time stamp is different therefore it is copied anyway.
Is there a workaround that will prevent copying a file whose contents have not changed?
source
share