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


Related Blog Posts

Increase Build Log Verbosity to Get More Details About a Build Problem
Sometimes build failures can be difficult to troubleshoot while doing local builds. This can be fixed by increasing build verbosity.
Build Error Due to Previously Installed Visual Studio 2015
Clients using TDS who want to test out the new Visual Studio 2015 version on their machines at some point may run into a problem should they decide to uninstall VS 2015 from their system. Hedgehog Development has found a solution to the problem.