Partilhar via


BuildManager.Build Method

Definition

Overloads

Build(BuildParameters, BuildRequestData)

Convenience method. Submits a lone build request and blocks until results are available.

Build(BuildParameters, GraphBuildRequestData)

Convenience method. Submits a lone graph build request and blocks until results are available.

Build(BuildParameters, BuildRequestData)

Source:
BuildManager.cs

Convenience method. Submits a lone build request and blocks until results are available.

public:
 Microsoft::Build::Execution::BuildResult ^ Build(Microsoft::Build::Execution::BuildParameters ^ parameters, Microsoft::Build::Execution::BuildRequestData ^ requestData);
public Microsoft.Build.Execution.BuildResult Build (Microsoft.Build.Execution.BuildParameters parameters, Microsoft.Build.Execution.BuildRequestData requestData);
member this.Build : Microsoft.Build.Execution.BuildParameters * Microsoft.Build.Execution.BuildRequestData -> Microsoft.Build.Execution.BuildResult
Public Function Build (parameters As BuildParameters, requestData As BuildRequestData) As BuildResult

Parameters

parameters
BuildParameters

Build parameters.

requestData
BuildRequestData

Build request data.

Returns

The build result.

Exceptions

Thrown if a build is already in progress.

Remarks

Convenience method.

Applies to

Build(BuildParameters, GraphBuildRequestData)

Source:
BuildManager.cs

Convenience method. Submits a lone graph build request and blocks until results are available.

public:
 Microsoft::Build::Graph::GraphBuildResult ^ Build(Microsoft::Build::Execution::BuildParameters ^ parameters, Microsoft::Build::Graph::GraphBuildRequestData ^ requestData);
public Microsoft.Build.Graph.GraphBuildResult Build (Microsoft.Build.Execution.BuildParameters parameters, Microsoft.Build.Graph.GraphBuildRequestData requestData);
member this.Build : Microsoft.Build.Execution.BuildParameters * Microsoft.Build.Graph.GraphBuildRequestData -> Microsoft.Build.Graph.GraphBuildResult
Public Function Build (parameters As BuildParameters, requestData As GraphBuildRequestData) As GraphBuildResult

Parameters

parameters
BuildParameters
requestData
GraphBuildRequestData

Returns

Exceptions

Thrown if a build is already in progress.

Applies to