TaskSchema Class

MSBuild

A Task that generates a XSD schema of the tasks in an assembly.


Namespace: MSBuild.Community.Tasks.Schema
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class TaskSchema
    Inherits Task
C#
public class TaskSchema : Task
C++
ref class TaskSchema : Task
J#
public class TaskSchema extends Task
JScript
public class TaskSchema extends Task

Example

Creates schema for MSBuild Community Task project

 Copy Code
            <TaskSchema Assemblies="Build\MSBuild.Community.Tasks.dll" 
                OutputPath="Build" 
                CreateTaskList="true" 
                IgnoreMsBuildSchema="true"
                Includes="Microsoft.Build.Commontypes.xsd"/>
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      MSBuild.Community.Tasks.Schema.TaskSchema

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.