Microsoft.Build.Tasks Namespace
This API supports the product infrastructure and is not intended to be used directly from your code.
The Microsoft.Build.Tasks namespace contains the implementation of all tasks shipping with MSBuild. For information, see MSBuild.
| Class | Description | |
|---|---|---|
![]() | AL | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Provides the same functionality as the Task class, but derives from MarshalByRefObject so that it can be instantiated in its own application domain. |
![]() | AspNetCompiler | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Assigns XML project configurations to project reference task items. |
![]() | AssignTargetPath | This API supports the product infrastructure and is not intended to be used directly from your code. Assigns target paths to input files. |
![]() | CallTarget | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Combines the specified paths into a single path. |
![]() | CommandLineBuilderExtension | This API supports the product infrastructure and is not intended to be used directly from your code. Comprises extended utility methods for constructing a command line. |
![]() | ConvertToAbsolutePath | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a C#-style manifest name from a given resource file name. |
![]() | CreateItem | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Determines the manifest resource name to assign to a resource. |
![]() | CreateProperty | This API supports the product infrastructure and is not intended to be used directly from your code. 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. |
![]() | CreateVisualBasicManifestResourceName | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a Visual Basic-style manifest name from a given resource file name. |
![]() | Csc | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. In a specified list, finds an item that has the matching itemspec. |
![]() | FindUnderPath | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Converts a URL into a proper URL format. |
![]() | FormatVersion | This API supports the product infrastructure and is not intended to be used directly from your code. Appends the revision number to the version number. |
![]() | GenerateApplicationManifest | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the base class for all manifest generation tasks. |
![]() | GenerateResource | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Generates the application trust from the base manifest, and from the TargetZone and ExcludedPermissions properties. |
![]() | GetAssemblyIdentity | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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. 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. |
![]() | GetReferenceAssemblyPaths | Returns the reference assembly paths to the various frameworks. |
![]() | GetSDKReferenceFiles | Resolves an SDKReference to a full path on disk |
![]() | LC | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Defines the properties and methods common to managed compiler tasks. |
![]() | Message | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Determines the output files for non-MSBuild project references. |
![]() | ResolveProjectBase | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the base class for ResolveNonMSBuildProjectOutput and AssignProjectConfiguration. |
![]() | ResolveSDKReference | Resolves an SDKReference to a full path on disk |
![]() | SGen | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Contains properties to help extend a task. |
![]() | TaskLoggingHelperExtension | This API supports the product infrastructure and is not intended to be used directly from your code. Enables logging of various messages. Also, enables loading and formatting of resources. |
![]() | ToolTaskExtension | This API supports the product infrastructure and is not intended to be used directly from your code. Comprises extended utility methods for constructing a task that wraps a command line tool. |
![]() | Touch | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. Updates selected properties in a manifest and resigns. |
![]() | Vbc | This API supports the product infrastructure and is not intended to be used directly from your code. 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. |
![]() | Warning | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | This API supports the product infrastructure and is not intended to be used directly from your code. 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. |
| Structure | Description | |
|---|---|---|
![]() | ExtractedClassName | This API supports the product infrastructure and is not intended to be used directly from your code. Extracts a class name from a language source file. |
| Interface | Description | |
|---|---|---|
![]() | IFixedTypeInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Provides a substitute for ITypeInfo by modifying the definitions of GetRefTypeOfImplType and GetRefTypeInfo. |


