Blog

Parallel Builds in TDS

December 10, 2015 | Angel Uzunov

Build servers have an option to perform parallel builds, allowing for multiple threads to build different projects from a Solution simultaneously. Since TDS doesn’t support parallel builds, this is the most frequent cause for build errors. This is because TDS needs to run its build segments in a particular order.  In cases where parallel builds are used, files might get deployed, causing an application pool recycle, which would in turn cause your build to fail prematurely.


We strongly recommend running TDS with parallel builds turned off.


2 ways to disable parallel builds:

  • Through the build server’s Build Definition options

  • By adding the /m:1 parameter when using the MSBuild Command Line to build your projects

builds