Partilhar via


Microsoft.Build.Execution Namespace

Contains types that the MSBuild object model uses to build projects. For information, see MSBuild.

Classes

BuildManager

This class is the public entry point for executing builds.

BuildParameters

This class represents all of the settings which must be specified to start a build.

BuildRequestData

BuildRequestData encapsulates all of the data needed to submit a build request.

BuildResult

Contains the current results for all of the targets which have produced results for a particular configuration.

BuildSubmission

A BuildSubmission represents an build request which has been submitted to the BuildManager for processing. It may be used to execute synchronous or asynchronous build requests and provides access to the results upon completion.

HostServices

Implementation of HostServices that mediates access from the build to the host.

OutOfProcNode

This class represents an implementation of INode for out-of-proc nodes.

ProjectInstance

What the user gets when they clone off a ProjectInstance. They can hold onto this, change/query items and properties, and call it several times to build it.

ProjectItemDefinitionInstance

An evaluated item definition for a particular item-type, divested of all references to XML. Immutable.

ProjectItemGroupTaskInstance

Wraps an unevaluated itemgroup under a target. Immutable.

ProjectItemGroupTaskItemInstance

Wraps an unevaluated item under an itemgroup in a target. Immutable.

ProjectItemGroupTaskMetadataInstance

Wraps an unevaluated metadatum under an item in an itemgroup in a target Immutable.

ProjectItemInstance

Wraps an evaluated item for build purposes

ProjectMetadataInstance

Wraps an evaluated piece of metadata for build purposes Added and removed via methods on the ProjectItemInstance object. IMMUTABLE OBJECT.

ProjectOnErrorInstance

Wraps an onerror element

ProjectPropertyGroupTaskInstance

Wraps an unevaluated propertygroup under a target. Immutable.

ProjectPropertyGroupTaskPropertyInstance

Wraps an unevaluated property under an propertygroup in a target. Immutable.

ProjectPropertyInstance

Wraps an evaluated property for build purposes. Added and removed via methods on the ProjectInstance object.

ProjectTargetInstance

Wraps a target element

ProjectTargetInstanceChild

Type for ProjectTaskInstance and ProjectPropertyGroupTaskInstance and ProjectItemGroupTaskInstance allowing them to be used in a single collection of target children

ProjectTaskInstance

Wraps a task element

ProjectTaskInstanceChild

Type for TaskOutputItem and TaskOutputProperty allowing them to be used in a single collection

ProjectTaskOutputItemInstance

Wraps an output item element under a task element

ProjectTaskOutputPropertyInstance

Represents an output property element beneath a task element

RequestedProjectState

Interface defining properties, items, and metadata of interest for a BuildRequestData.

TargetResult

Contains the result items for a single target as well as the overall result code.

Structs

BuildManager.DeferredBuildMessage

BeginBuild(BuildParameters, IEnumerable<BuildManager.DeferredBuildMessage>)

Interfaces

ITargetResult

An interface representing results for a specific target

Enums

BuildRequestDataFlags

Flags providing additional control over the build request

BuildResultCode

Overall results for targets and requests

NodeAffinity

Controls where projects must be built.

NodeEngineShutdownReason

Reasons for a node to shutdown.

ProjectInstanceSettings

Enum for controlling project instance creation

ProjectIsolationMode

The isolation mode to use.

TargetResultCode

The result code for a given target.

Delegates

BuildSubmissionCompleteCallback

A callback used to receive notification that a build has completed.