Build Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SolutionBuild.Build Method

Causes the active solution configuration to begin building.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

void Build (
	[OptionalAttribute] [InAttribute] bool WaitForBuildToFinish
void Build (
	/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ boolean WaitForBuildToFinish
function Build (
	WaitForBuildToFinish : 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.

© 2015 Microsoft