Recently I looked into speeding up Visual Studio builds – I found the results interesting… I decided to do a few POC’s to see where the bottleneck is with large solutions in Visual Studio. After some searching of the net I found various tweaks that one can do to ones machine to get better performance and a few mentions that VS2010 does not handle multiple project files very well – the number mentioned several times was 10 – if you have more than 10 projects in a solution you see a noticeable decrease in build time.
Solution with 100 projects each with a single class
To validate this I set up a solution with 100 class projects with a single class in each project and did a clean build. The average build time per project was 00:00.2 units, leaving me with a total build time of 00:16.0 units. Solution with one project and 100 classes in a single namespace
The next step was to establish where the load was on the build, would I get similar results with a solution with one project with 100 classes. Again set that up – total build...(Read whole news on source site)