Microsoft.Build.Tasks Namespace

The Microsoft.Build.Tasks namespace contains the implementation of all tasks shipping with MSBuild. For information, see MSBuild.

Classes

AL

Implements the AL task. Use the AL element in your project file to create and execute this task. For usage and parameter information, see AL (Assembly Linker) Task.

AppDomainIsolatedTaskExtension

Provides the same functionality as the Task class, but derives from MarshalByRefObject so that it can be instantiated in its own application domain.

AspNetCompiler

Implements the AspNetCompiler task. Use the AspNetCompiler element in your project file to create and execute this task. For usage and parameter information, see AspNetCompiler Task.

AssignCulture

Implements the AssignCulture task. Use the AssignCulture element in your project file to create and execute this task. For usage and parameter information, see AssignCulture Task.

AssignProjectConfiguration

Assigns XML project configurations to project reference task items.

AssignTargetPath

Assigns target paths to input files.

CallTarget

Implements the CallTarget task. Use the CallTarget element in your project file to create and execute this task. For usage and parameter information, see CallTarget Task.

CodeTaskFactory

A task factory which can take a code DOM supported language and create a task from it.

CombinePath

Combines the specified paths into a single path.

CommandLineBuilderExtension

Comprises extended utility methods for constructing a command line.

ConvertToAbsolutePath

Implements the ConvertToAbsolutePath task. Use the ConvertToAbsolutePath element in your project file to create and execute this task. For usage and parameter information, see ConvertToAbsolutePath Task.

Copy

Implements the Copy task. Use the Copy element in your project file to create and execute this task. For usage and parameter information, see Copy Task.

CreateCSharpManifestResourceName

Creates a C#-style manifest name from a given resource file name.

CreateItem

Implements the CreateItem task. Use the CreateItem element in your project file to create and execute this task. For usage and parameter information, see CreateItem Task.

CreateManifestResourceName

Determines the manifest resource name to assign to a resource.

CreateProperty

Implements the CreateProperty task. Use the CreateProperty element in your project file to create and execute this task. For usage and parameter information, see CreateProperty Task.

CreateTemporaryVCProject
CreateVisualBasicManifestResourceName

Creates a Visual Basic-style manifest name from a given resource file name.

Csc

Implements the Csc task. Use the Csc element in your project file to create and execute this task. For usage and parameter information, see Csc Task.

Delete

Implements the Delete task. Use the Delete element in your project file to create and execute this task. For usage and parameter information, see Delete Task.

Error

Implements the Error task. Use the Error element in your project file to create and execute this task. For usage and parameter information, see Delete Task.

Exec

Implements the Exec task. Use the Exec element in your project file to create and execute this task. For usage and parameter information, see Exec Task.

FindAppConfigFile

Finds the app.config file, if any, in the provided lists.

FindInList

In a specified list, finds an item that has the matching itemspec.

FindUnderPath

Implements the FindUnderPath task. Use the FindUnderPath element in your project file to create and execute this task. For usage and parameter information, see FindUnderPath Task.

FormatUrl

Converts a URL into a proper URL format.

FormatVersion

Appends the revision number to the version number.

GenerateApplicationManifest

Implements the GenerateApplicationManifest task. Use the GenerateApplicationManifest element in the project file to create and execute this task. For usage and parameter information, see GenerateApplicationManifest Task.

GenerateBootstrapper

Implements the GenerateBootstrapper task. Use the GenerateBootstrapper element in your project file to create and execute this task. For usage and parameter information, see GenerateBootstrapper Task.

GenerateDeploymentManifest

Implements the GenerateDeploymentManifest task. Use the GenerateDeploymentManifest element in the project file to create and execute this task. For usage and parameter information, see GenerateDeploymentManifest Task.

GenerateManifestBase

Represents the base class for all manifest generation tasks.

GenerateResource

Implements the GenerateResource task. Use the GenerateResource element in your project file to create and execute this task. For usage and parameter information, see GenerateResource Task.

GenerateTrustInfo

Generates the application trust from the base manifest, and from the TargetZone and ExcludedPermissions properties.

GetAssemblyIdentity

Implements the GetAssemblyIdentity task. Use the GetAssemblyIdentity element in your project file to create and execute this task. For usage and parameter information, see GetAssemblyIdentity Task.

GetFrameworkPath

Implements the GetFrameworkPath task. Use the GetFrameworkPath element in your project file to create and execute this task. For usage and parameter information, see GetFrameworkPath Task.

GetFrameworkSdkPath

Implements the GetFrameworkSdkPath task. Use the GetFrameworkSdkPath element in your project file to create and execute this task. For usage and parameter information, see GetFrameworkSdkPath Task.

GetInstalledSDKLocations

Gathers the list of installed SDKS in the registry and on disk and outputs them into the project so they can be used during SDK reference resolution and RAR for single files.

GetInstalledSDKLocations doesn't recognize a version folder if "v" appears in its name. For example, an SDK that's located at C:\Windows\Program Files\Microsoft SDKs\Windows\8.0\SDKFolders\3rdPartySDK\2.5\will be located correctly. However, the same SDK located atC:\Windows\Program Files\Microsoft SDKs\Windows\8.0\SDKFolders\3rdPartySDK\v2.5\won't be located and will be ignored. If an SDK is ignored, the failure won't be recorded in the log, and no error will be thrown.

Version folder names need to be formed as major.minor[.build[.revision]]. For more information, see TryParse(String, Version).

To find an SDK with a particular version, the version sought must match the version requested. For example, if the SDK has a folder version name 8.0.0 and the customer requested the SDK with version 8.0, there is no match, and the SDK won't be found.

For more information on version matching, see CompareTo(Version).

GetReferenceAssemblyPaths

Returns the reference assembly paths to the various frameworks.

GetSDKReferenceFiles

Resolves an SDKReference to a full path on disk

LC

Implements the LC task. Use the LC element in your project file to create and execute this task. For usage and parameter information, see LC Task.

MakeDir

Implements the MakeDir task. Use the MakeDir element in your project file to create and execute this task. For usage and parameter information, see MakeDir Task.

ManagedCompiler

Defines the properties and methods common to managed compiler tasks.

Message

Implements the Message task. Use the Message element in your project file to create and execute this task. For usage and parameter information, see Message Task.

Move

Task to move one or more files.

MSBuild

Implements the MSBuild task. Use the MSBuild element in your project file to create and execute this task. For usage and parameter information, see MSBuild Task.

ReadLinesFromFile

Implements the ReadLinesFromFile task. Use the ReadLinesFromFile element in your project file to create and execute this task. For usage and parameter information, see ReadLinesFromFile Task.

RegisterAssembly

Implements the RegisterAssembly task. Use the RegisterAssembly element in your project file to create and execute this task. For usage and parameter information, see RegisterAssembly Task.

RemoveDir

Implements the RemoveDir task. Use the RemoveDir element in your project file to create and execute this task. For usage and parameter information, see RemoveDir Task.

RemoveDuplicates

Implements the RemoveDuplicates task. Use the RemoveDuplicates element in your project file to create and execute this task. For usage and parameter information, see RemoveDuplicates Task.

RequiresFramework35SP1Assembly

Determines whether the application requires the .NET Framework 3.5 SP1.

ResolveAssemblyReference

Implements the ResolveAssemblyReference task. Use the ResolveAssemblyReference element in your project file to create and execute this task. For usage and parameter information, see ResolveAssemblyReference Task.

ResolveComReference

Implements the ResolveComReference task. Use the ResolveComReference element in your project file to create and execute this task. For usage and parameter information, see ResolveComReference Task.

ResolveKeySource

Implements the ResolveKeySource task. Use the ResolveKeySource element in your project file to create and execute this task. For usage and parameter information, see ResolveKeySource Task.

ResolveManifestFiles

This task resolves the following items in the build process to files for manifest generation: built items, dependencies, satellites, content, debug symbols, and documentation) to files for manifest generation.

ResolveNativeReference

Implements the ResolveNativeReference task. Use the ResolveNativeReference element in your project file to create and execute this task. For usage and parameter information, see ResolveNativeReference Task.

ResolveNonMSBuildProjectOutput

Determines the output files for non-MSBuild project references.

ResolveProjectBase

Represents the base class for ResolveNonMSBuildProjectOutput and AssignProjectConfiguration.

ResolveSDKReference

Resolves an SDKReference to a full path on disk

ResolveVCProjectOutput
SGen

Implements the SGen task. Use the SGen element in your project file to create and execute this task. For usage and parameter information, see SGen Task.

SignFile

Implements the SignFile task. Use the SignFile element in your project file to create and execute this task. For usage and parameter information, see SignFile Task.

TaskExtension

Contains properties to help extend a task.

TaskLoggingHelperExtension

Enables logging of various messages. Also, enables loading and formatting of resources.

ToolTaskExtension

Comprises extended utility methods for constructing a task that wraps a command line tool.

Touch

Implements the Touch task. Use the Touch element in your project file to create and execute this task. For usage and parameter information, see Touch Task.

UnregisterAssembly

Implements the UnregisterAssembly task. Use the UnregisterAssembly element in your project file to create and execute this task. For usage and parameter information, see UnregisterAssembly Task.

UpdateManifest

Updates selected properties in a manifest and resigns.

Vbc

Implements the Vbc task. Use the Vbc element in your project file to create and execute this task. For usage and parameter information, see Vbc Task.

VCBuild
Warning

Implements the Warning task. Use the Warning element in your project file to create and execute this task. For usage and parameter information, see Warning Task.

WinMDExp

Exports a managed assembly to a windows runtime metadata.

WriteCodeFragment

Generates a temporary code file with the specified generated code fragment. Does not delete the file.

WriteLinesToFile

Implements the WriteLinesToFile task. Use the WriteLinesToFile element in your project file to create and execute this task. For usage and parameter information, see WriteLinesToFileWriteLinesToFile Task.

XamlTaskFactory

The task factory provider for XAML tasks.

XmlPeek

A task that returns values as specified by XPath Query from an XML file.

XmlPoke

A task that sets values as specified by XPath Query into a XML file.

XslTransformation

Transforms an XML input by using an XSLT or Compiled XSLT and outputs to an output device or a file.

Structs

ExtractedClassName

Extracts a class name from a language source file.

Interfaces

IFixedTypeInfo

Provides a substitute for ITypeInfo by modifying the definitions of GetRefTypeOfImplType(Int32, IntPtr) and GetRefTypeInfo(IntPtr, IFixedTypeInfo).