How to speed up MSDeploy

msdeploy

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.

Best Answer

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.