Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MSBuild.BuildInParallel Property

Definition

Namespace:
Microsoft.Build.Tasks
Assembly:
Microsoft.Build.Tasks.Core.dll
Assemblies:
Microsoft.Build.Tasks.dll, Microsoft.Build.Tasks.v3.5.dll
Assembly:
Microsoft.Build.Tasks.v4.0.dll
Package:
Microsoft.Build.Tasks.Core v15.9.20
Package:
Microsoft.Build.Tasks.Core v16.11.0
Package:
Microsoft.Build.Tasks.Core v17.14.8
Package:
Microsoft.Build.Tasks.Core v18.3.3
Package:
Microsoft.Build.Tasks.Core v18.4.0
Source:
MSBuild.cs
Source:
MSBuild.cs
Source:
MSBuild.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

When this is true we call the engine with all the projects at once instead of calling the engine once per project

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool BuildInParallel { bool get(); void set(bool value); };
public bool BuildInParallel { get; set; }
public bool BuildInParallel { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.BuildInParallel : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.BuildInParallel : bool with get, set
Public Property BuildInParallel As Boolean

Property Value

true if the projects specified in the Projects property are built in parallel if possible; otherwise, false.

Attributes

Remarks

The default value is true.

Applies to