MSDeploy is excruciatingly slow.

As in, it has taken our build /deployment process from 3.8 minutes to 15.

Is there anyway to speed this up? The publish method we are using is WMSVC.

  • How large is the deployment package? What providers are you including? Aug 16, 2012 at 23:32
  • @RichardSzalay: About 10MB. Not sure what you mean by what providers I'm including.
    – NotMe
    Sep 12, 2012 at 13:58
  • In the output log, does it look like it's deploying the entire site even though not much has changed? If so, see if the useCheckSum option mentioned in my answer helps. Sep 12, 2012 at 22:50

1 Answer 1


Without knowing more about your configuration (which MSDeploy providers/settings your using), I can only provide vague advice.

If your deployment time has increased, it's possible that the files are having their last modified timestamps updated everytime. Since this is the default mechanism MSDeploy uses to determine whether the file should be uploaded, it would cause your entire application to be deployed everytime.

If that sounds right, you can switch to checksum-based syncing by specifying the -useCheckSum command line argument.

  • It's worth noting that i've seen a lot of deployment pipelines slow down by using -usechecksum so it might not always be the ultimate speed saver :-)
    – Doug
    Oct 20, 2013 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.