Target Instance Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Wraps a target element
public ref class ProjectTargetInstance sealed
public sealed class ProjectTargetInstance
type ProjectTargetInstance = class
Public NotInheritable Class ProjectTargetInstance
This is an immutable class.
Unevaluated semicolon separated list of targets it runs after. May be empty string.
Location of the afterTargets
Unevaluated semicolon separated list of targets it runs before. May be empty string.
Location of the beforeTargets
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.
Unevaluated condition on the task. May be empty string.
Location of the condition, if any
Unevaluated semicolon separated list of targets it depends on. May be empty string.
Location of the dependsOnTargets
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.
Unevaluated inputs on the target element. May be empty string.
Location of the inputs
Unevaluated condition on which we will trim duplicate outputs from the target outputs May be empty string.
Location of the KeepDuplicatOutputs attribute
Location of the original element
Name of the target
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.
Unevaluated outputs on the target element May be empty string.
Location of the outputs
Unevaluated return values on the target element May be empty string or null, if no return value is specified.
Location of the returns
Just the tasks below this target, if any. Other kinds of children are not included.