You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn about the Task element of the MSBuild UsingTask, which contains the data that is passed to a UsingTask TaskFactory.
ms.date
03/13/2017
ms.topic
reference
dev_langs
VB
CSharp
C++
helpviewer_keywords
Task element [MSBuild]
<Task> element [MSBuild]
author
ghogen
ms.author
ghogen
ms.subservice
msbuild
Task element of UsingTask (MSBuild)
Contains the data that is passed to a UsingTaskTaskFactory. For more information, see UsingTask element (MSBuild).
<Project>
<UsingTask>
<Task>
Syntax
<TaskEvaluate="true/false" />
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute
Description
Evaluate
Optional Boolean attribute.
If true, MSBuild evaluates any inner elements, and expands items and properties before it passes the information to the TaskFactory when the task is instantiated.
Child elements
Element
Description
Data
The text between the Task tags is sent verbatim to the TaskFactory.