visual-studiowebdeploymicrosoft-web-deploy

Web Deploy re-uploads files that don't require it


Whenever either myself or someone else in my team publishes a website via web deploy to our server, it obviously copies over any newer dll files, cshtml files, css files etc.

However if a different user then does a publish, images, pdf files etc all get re-uploaded, even though it's not required (ie they haven't changed).

Initially I thought this was because we were all using different usernames to publish, however this isn't the problem. Has anyone come across a solution for this? It's quite frustration especially when you're publishing a site that has a lot of static content.


Solution

  • Even though this isn't technically an 'answer', this isn't an issue for us now using VSTS and CI/CD. We don't see files being replaced, it just works.