Skip to content

Correct default value for BuildInParallel #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msbuild.exe myproj.proj /maxcpucount:3
```

## BuildInParallel Task Parameter
`BuildInParallel` is an optional boolean parameter on a [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.md)] task. When `BuildInParallel` is set to `true` (its default value), multiple worker processes are generated to build as many projects at the same time as possible. For this to work correctly, the `/maxcpucount` switch must be set to a value greater than 1, and the system must be at least dual-core or have two or more processors.
`BuildInParallel` is an optional boolean parameter on a [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.md)] task. When `BuildInParallel` is set to `true` (its default value is `false`), multiple worker processes are generated to build as many projects at the same time as possible. For this to work correctly, the `/maxcpucount` switch must be set to a value greater than 1, and the system must be at least dual-core or have two or more processors.

The following is an example, taken from microsoft.common.targets, about how to set the `BuildInParallel` parameter.

Expand Down Expand Up @@ -85,4 +85,4 @@ msbuild.exe myproj.proj /maxcpucount:3
## See Also
[Using Multiple Processors to Build Projects](../msbuild/using-multiple-processors-to-build-projects.md)
[Writing Multi-Processor-Aware Loggers](../msbuild/writing-multi-processor-aware-loggers.md)
[Tuning C++ Build Parallelism blog](http://go.microsoft.com/fwlink/?LinkId=251457)
[Tuning C++ Build Parallelism blog](http://go.microsoft.com/fwlink/?LinkId=251457)