Share via


task Element (Tasks Schema)

Specifies work that must occur to configure something specific to the process in a new team project.

Schema Hierarchy

tasks Element (Tasks Schema)

    task Element (Tasks Schema)

<task id="task id" name="name of task" plugin="Microsoft.ProjectCreationWizard.<PluginName>" completionMessage="successful completion message" completionDescription="in process message">
    <dependencies>…</dependencies>
    <taskXml>…</taskXml>
</task>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

id

Required task attribute.

The task identifier. A task that depends on this task uses this id attribute to reference this task. The value of the id attribute must be unique across all Team Foundation servers.

name

Optional task attribute.

The name of the task.

plugin

Required task attribute.

The name of the plug-in that runs the task.

completionMessage

Optional task attribute.

A message to the user that displays if the task group completes successfully during team project creation.

completionDescription

Optional task attribute.

A description that displays while the task is in process.

Child Elements

Element

Description

dependencies

Optional element.

Specifies a collection of tasks that must complete before the current task can start.

artifacts

Not supported in this version.

taskXml

Required element.

Describes the work required to complete this task. The XML inside this element block varies and is specific to each plug-in.

Parent Elements

Element

Description

tasks

Required element.

Contains a collection of task elements that each specify work that must occur to configure something specific to the process in a new team project.

Remarks

task is a required child element of tasks.

Element Information

Namespace

Empty

Schema Name

Tasks Schema

Validation File

Tasks.xsd

Element Type

task

Can Be Empty

No

See Also

Tasks

Process Template Schemas Download

Concepts

Tasks

Reference

dependencies Element (Tasks Schema)

taskXml Element (Tasks Schema)