According to this MSDN article:
http://msdn.microsoft.com/en-us/library/cyz1h6zd.aspx
one "can run multi-processor builds for C++ and C# projects." using the IDE. My solution contains only C# projects, but when I do "Build Solution" I can only see one MSBuild process in task manager and one csc.exe process.
In Tools -> Options -> Projects and Solutions -> Build and Run I have "maximum number of parallel project builds" set to 4 and my computer has 4 cores.
Is it possible to setup VS2013 to build my solution projects in parallel?
Parallel building, when the term is applied to clearmake, is the ability to run multiple compiles simultaneously on the same system by understanding the build order dependency graph described in the makefile (the order in which files must be built, based on their dependencies).
As you wished, VS IDE does support multi-core build process. VS first will get a basic performance evaluation based on your current CPU hardware. Then, you should open the switch under Tools-->Options-->Projects and Solutions-->Build and Run-->and you will see maximum number of parallel project builds.
You can build, rebuild, and clean multiple solution and project configurations. The combination of configurations can be stored as a Preset for easy access. Open the Batch Build dialog from the tray-icon menu or the Visual Studio Incredibuild menu.
MSBuild supports multithreaded building, but only at the project level, and obviously dependency projects have to be compiled before the projects that depend on them so there are practical limits to parallelism.
I tested the option you mentioned on my larger solution with lot of independend projects in VS2013 and it builds these projects in 4 newly spawned build processors.
If your projects depend on each other the build will have difficulty to run concurrently. But it basically does work in VS2013.
For reference this is the setting:
Putting 8 in there spawned 8 build processors.
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