2

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.

benpage
  • 4,418
  • 3
  • 41
  • 39
  • Check out deployment settings for your profile. I had the same issue and there was a checkbox that was checked (I unchecked it and problem solved.) I can't remember any more than that cause I've been using Linux lately. – jay_t55 Jul 10 '14 at 22:43
  • 1
    only option i see under 'file publish options' is 'remove additional files at destination', which isn't what i want.. – benpage Jul 10 '14 at 23:15
  • Oh. Damn. What files are being re-uploaded? Are they auto-generated files, or are they files that you have created yourself? – jay_t55 Jul 11 '14 at 02:56
  • Nah files that we've created ourselves. PDFs, JPGs, etc.. static files. – benpage Jul 13 '14 at 22:11

1 Answers1

0

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.

benpage
  • 4,418
  • 3
  • 41
  • 39