Microsoft.Build.Framework.OutputAttribute Class

Defines the metadata attribute that task authors use to identify task properties that output data from the task.

See Also: OutputAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class OutputAttribute : Attribute

Remarks

The vstecmsbuild engine will only allow task properties marked with this attribute to output data from a task. Project authors can only use properties marked with this attribute in the Output element of a project file. All other task properties are treated as inputs to a task.

For more information about using attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Assembly Versions: 2.0.0.0
Since: 2.0