Freigeben über


ProjectTargetInstance Class

Definition

Wraps a target element

public ref class ProjectTargetInstance sealed
public sealed class ProjectTargetInstance
type ProjectTargetInstance = class
Public NotInheritable Class ProjectTargetInstance
Inheritance
ProjectTargetInstance

Remarks

This is an immutable class.

Properties

AfterTargets

Unevaluated semicolon separated list of targets it runs after. May be empty string.

AfterTargetsLocation

Location of the afterTargets

BeforeTargets

Unevaluated semicolon separated list of targets it runs before. May be empty string.

BeforeTargetsLocation

Location of the beforeTargets

Children

Children below the target. The build iterates through this to get each task to execute. This is an ordered collection. This is a read-only list; the ProjectTargetInstance class is immutable. This collection does not contain the OnError target references.

Condition

Unevaluated condition on the task. May be empty string.

ConditionLocation

Location of the condition, if any

DependsOnTargets

Unevaluated semicolon separated list of targets it depends on. May be empty string.

DependsOnTargetsLocation

Location of the dependsOnTargets

FullPath

Full path to the file from which this target originated. If it originated in a project that was not loaded and has never been given a path, returns an empty string.

Inputs

Unevaluated inputs on the target element. May be empty string.

InputsLocation

Location of the inputs

KeepDuplicateOutputs

Unevaluated condition on which we will trim duplicate outputs from the target outputs May be empty string.

KeepDuplicateOutputsLocation

Location of the KeepDuplicatOutputs attribute

Location

Location of the original element

Name

Name of the target

OnErrorChildren

The children below the target which refer to OnError targets. This is an ordered collection. This is a read-only list; the ProjectTargetInstance class is immutable.

Outputs

Unevaluated outputs on the target element May be empty string.

OutputsLocation

Location of the outputs

Returns

Unevaluated return values on the target element May be empty string or null, if no return value is specified.

ReturnsLocation

Location of the returns

Tasks

Just the tasks below this target, if any. Other kinds of children are not included.

Applies to