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


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


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.


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