Partilhar via


SolutionBuild.Build(Boolean) Method

Definition

Causes the active solution configuration to begin building.

void Build(bool WaitForBuildToFinish = false);
[System.Runtime.InteropServices.DispId(8)]
public void Build (bool WaitForBuildToFinish = false);
[<System.Runtime.InteropServices.DispId(8)>]
abstract member Build : bool -> unit
Public Sub Build (Optional WaitForBuildToFinish As Boolean = false)

Parameters

WaitForBuildToFinish
Boolean

Optional. Determines whether Build(Boolean) retains control until the build operation is complete. Default value is false.

Attributes

Remarks

If you set WaitForBuildToFinish to false — that is, control returns immediately after initiating a build — you can use the OnBuildDone event to determine when the build is complete.

Applies to