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?
You can run builds in parallel in Team Build 2010 by editing your build properties.
/maxcpucount
or /m
Here's a screenshot:
See also
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With