Visual Studio 2010, how to build projects in parallel on multicore

后端 未结 5 1756
暖寄归人
暖寄归人 2020-12-13 07:32

I have a big solution with more than 40 projects. Almost half of them are test projects. In my project we use both Code Contracts, Code Analysis, Style Analysis. I want to

5条回答
  •  天涯浪人
    2020-12-13 08:18

    In Visual Studio: Tools | Options | Projects and Solutions | Build and Run. This should default to your CPU count.

    From the command line: msbuild /maxcpucount[:n] (is n is not specified, then it will use the CPU count).

提交回复
热议问题