Visual Studio : set number of project build in parallel from command line -
i’m using visual studio 2010 devenv build solutions command line ( not using msbuild ), visual studio set build 8 projects in parallel ( set on visual studio ide under tools -> options -> projects , solutions -> build , run ) have 1 solution don’t want build projects in parallel.
is there way set max number of project being built in parallel command line specific solution ?
if not maybe can change number of projects set in vs through registry , undo change after solution built ?
thanks.
i don't think can if build on command line using devenv, can msbuild. if have existing scripts call devenv it's quite simple change msbuild:
instead of:
devenv solution.sln /build debug
use:
msbuild solution.sln /t:build /p:configuration=debug
you can add flag /m:n
specify maximum number of concurrent processes use build (eg /m:4
)
Comments
Post a Comment