Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


A task specifies work that must occur to configure something specific to the process in a new team project. Tasks can perform work such as create a new work item type, add a report, copy a file to the project portal, and configure a security group.

For example, the following XML shows a task that creates all the work item types by referencing the work item type definition files:

   name="WorkItemType definitions"
   completionMessage="WorkItemTypes created"         
   completionDescription = "Processing work item types used by work item tracking">
         <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Bug.xml"/>
         <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Task.xml"/>
         <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Qos.xml"/>
         <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Scenario.xml"/>
         <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Risk.xml"/>

The following table describes each element in a task.

Element Description


Identifies the task. If another task depends on this task, it references this id.


Describes what the task does.


Identifies which plug-in must run this task.


Displays a message to the user if the task is completed successfully. The message is displayed during team project creation.


Displays a description while the task is in process. The description is displayed during team project creation.


Specifies the id of another task that this task depends on. The other task must complete before this task can start.


Contains information describing the work that must occur to complete this task. The XML inside this element block varies and is specific to each plug-in.

See Also

© 2016 Microsoft