SolutionBuild.Build(Boolean) Method
Definition
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.
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.