Prevent MSBuild to use multiple threads

Viewed 227

I have to compile more than 100 projects (VS 2012). All these projects use the "/MP"-switch to use multiple cores.

Now I want to compile it on one big machine (24 Cores). On this machine, I compile it in a batch with MSBUILD. I want to start 24 MSBuild-Processes, in which every MSBuild-Processs does not use more than one process.

Is it possible to make MSBuild ignore the /MP-Switch in the project without editing the project(s).

I tried the msbuild-parameter /m:1 but it seems to get ignored or the project-switch is preferred.

0 Answers
Related