MSBuild Task Reference
Tasks provide the code that runs during the build process. This section explains the library of common tasks that is provided with MSBuild.
In addition to the parameters listed in the topics in this section, each task also has the following parameters:
Optional String parameter.
Boolean expression the MSBuild engine uses to determine whether or not this task will be executed. For information on the conditions supported by MSBuild, see MSBuild Conditions.
Optional Boolean parameter
Boolean value that specifies whether the remaining tasks in the target run if this task fails. The task fails because the Execute method either throws an exception or returns false.
If ContinueOnError is set to true, the remaining tasks run and the failed task does not cause the entire target to fail.
If ContinueOnError is set to false, the remaining tasks do not run and the entire target fails.
By default, ContinueOnError is false.
In This Section
AL (Assembly Linker) Task
Describes the AL task and its parameters.
Wraps aspnet_compiler.exe, a utility to precompile ASP.NET applications.
Assigns culture identifiers to items.
Invokes a target in the project file.
Describes the Copy task and its parameters.
Describes the CreateItem task and its parameters.
Describes the CreateProperty task and its parameters.
Describes the Csc task and its parameters.
Describes the Delete task and its parameters.
Stops a build and logs an error based on an evaluated conditional statement.
Describes the Exec task and its parameters.
Determines which items in the specified item collection exist in the specified folder and all of its subfolders.
Describes the GenerateApplicationManifest task and its parameters.
Provides an automated way to detect, download, and install an application and its prerequisites.
Describes the GenerateDeployManifest task and its parameters.
Converts .txt and .resx files to common language runtime binary .resources files.
Retrieves the assembly identities from the specified files and outputs the identity information.
Retrieves the path to the .NET Framework assemblies.
Retrieves the path to the Windows Software Development Kit (SDK).
Describes the LC task and its parameters.
Describes the MakeDir task and its parameters.
Logs a message during a build.
Describes the MSBuild task and its parameters.
Reads a list of items from a text file.
Describes the RegisterAssembly task and its parameters.
Describes the RemoveDir task and its parameters.
Describes the ResGen task and its parameters.
Describes the ResolveAssemblyReference task and its parameters.
Describes the ResolveCOMReference task and its parameters.
Determines the strong name key source
Resolves native references.
Creates an XML serialization assembly for types in the specified assembly.
Signs the specified file using the specified certificate.
Describes the Touch task and its parameters.
Describes the UnregisterAssembly task and its parameters.
Describes the Vbc task and its parameters.
Describes the VCBuild task and its parameters.
Logs a warning during a build based on an evaluated conditional statement.
Writes the specified items to the specified text file.