InvokeStandaloneMsBuild.

TargetOutputs Property

Summary

Gets or sets the outputs of the built targets from all the project files. Only the outputs from the targets that were specified are returned, not any outputs that may exist on targets that those targets depend on. The TargetOutputs parameter also contains the following metadata: - MSBuildSourceProjectFile: The MSBuild project file that contains the target that set the outputs. - MSBuildSourceTargetName: The target that set the outputs. Note: If you want to identify the outputs from each project file or target separately, run the MSBuild task separately for each project file or target.If you run the MSBuild task only once to build all the project files, the outputs of all the targets are collected into one array.

Syntax

[Output]
public ITaskItem[] TargetOutputs { get; set; }

Attributes

Type Description
Output

Value

Type Description
ITaskItem[]