I have a C# solution that has a very high build time. This article suggests analysing it using msbuild switches.
How can I add those command line switches to my solution so visual studio adds them when starting the build?
I would like to run msbuild using these switches:
/tv:4.0 /m:4 /ds /t:ParallelBuild
Go to Tools -> Options -> Projects and Solutions -> Build and Run.
Then enter a number for the "maximum number of parallel project builds".
However, it is likely that this is already set to a value greater than 1, so this might not be much use.
This is equivalent to the /m
switch - the other switches you mention are of no significance for enabling multiprocessor builds.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.