Megosztás a következőn keresztül:


SolutionBuild.Build Method

Causes the active solution configuration to begin building.

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

Syntax

'Declaration
Sub Build ( _
    WaitForBuildToFinish As Boolean _
)
void Build(
    bool WaitForBuildToFinish
)
void Build(
    [InAttribute] bool WaitForBuildToFinish
)
abstract Build : 
        WaitForBuildToFinish:bool -> unit
function Build(
    WaitForBuildToFinish : boolean
)

Parameters

  • WaitForBuildToFinish
    Type: System.Boolean

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

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.

.NET Framework Security

See Also

Reference

SolutionBuild Interface

EnvDTE Namespace