Reputation: 13335
We have TFS2010 and a single solution with nearly 200 hundred projects (Yes, I know, bad idea, not mine!). I have the build time down to circa 30 seconds on a 4 core (8 hyper) machine from 4 minutes done sequentially by decoupling code to enable a high level of build concurrency. I would now like to get the benefit of that on the build server, this must be possible as MSBuild supports parallel build. How?
Upvotes: 5
Views: 4525
Reputation: 59885
You can run builds in parallel in Team Build 2010 by editing your build properties.
/maxcpucount
or /m
Here's a screenshot:
See also
Upvotes: 14
Reputation: 6173
If parallel compilation is not enabled by default, go to Additional MSBuild parameters property on build definition's "Process-Advanced" tab and add "/m" command line switch
Upvotes: 2