SolutionBuild2::Build Method (Boolean)

 

Causes the active solution configuration to begin building.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void Build(
	bool WaitForBuildToFinish = false
)

Parameters

WaitForBuildToFinish
Type: System::Boolean

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

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.

This example sets the first solution configurations item to "release" and then builds the solution. Open a project in the Visual Studio integrated development environment (IDE) before running this example.

No code example is currently available or this language may not be supported.
Return to top
Show: