This documentation is archived and is not being maintained.
ProjectTargetInstance Class
Visual Studio 2010
Wraps a Target Element (MSBuild).
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ProjectTargetInstance type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Children | Gets a list of the children of this target. The build iterates through this to get each task to execute. |
![]() | Condition | Gets the unevaluated Condition attribute of this target element. |
![]() | DependsOnTargets | Gets an unevaluated semicolon-delimited list of targets that this target depends on. |
![]() | FullPath | Gets the full path to the file from which this target originated. |
![]() | Inputs | Gets the unevaluated inputs on this target element. |
![]() | KeepDuplicateOutputs | Gets an unevaluated condition which is used to delete duplicate outputs from this target. |
![]() | Name | Gets the name of the target. |
![]() | OnErrorChildren | Gets a list of the children of this target that refer to OnError targets. |
![]() | Outputs | Gets the unevaluated outputs on this target element May be empty string. |
![]() | Returns | Gets the unevaluated return values on the target element as a string. |
![]() | Tasks | Gets all the tasks that are immediate children of this target. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
