Wednesday, June 17, 2009

MSBuild Vs Nant - equivalent tasks List

equivalent tasks
List

Edit
MSBuild NAnt Description Notes
ALalWraps al.exe, the assembly linker for the .NET Framework.
AspNetCompiler


AssignCulture


CopycopyCopies a file or set of files to a new file or directory.
CreateItem
Populates item lists with the items passed in. This allows items to be copied from one list to another.
CreatePropertypropertySets a property in the current project.
CsccscCompiles C# programs.
Deletedelete Deletes a file, fileset or directory.
Error failExits the current build by throwing a BuildException, optionally printing additional information.
ExecexecExecutes a system command.
FindUnderPath


GenerateApplicationManifest
Generates an assembly manifest for a Win32 or ClickOnce application from project items and properties.
GenerateDeploymentManifest
Generates a ClickOnce deploy manifest from project items and properties.
GenerateBootstrapper


GetAssemblyIdentity


GetFrameworkPath


GetFrameworkSdkPath


GetLinkedFilesFromResX


LC


MakeDirmkdirCreates a directory and any non-existent parent directory if necessary.
Message echoWrites a message to the build log.
MSBuild
Build projects in an application using MSBuild. Note that this task can process not only project files but also Visual Studio solution files.
ReadLinesFromFile


RegisterAssembly
Reads the metadata within an assembly and add the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.
RemoveDir
Removes directories from disk and all the files and directories they contain.
RemoveDuplicates


ResGenresgen Converts files from one resource format to another.
ResolveAssemblyReference


ResolveComReferences


ResolveKeySource


ResolveNativeReference


SGen


SignFile delay-signSigns delay-signed .NET Assemblies, or re-signs existing assemblies.
TouchtouchTouches a file or set of files
UnregisterAssembly
Performs the reverse of the RegisterAssembly task.
VbcvbcCompiles Visual Basic.NET programs.
Vjc vjcCompiles Visual J# programs using vjc, Microsoft's J# compiler.You must install the J# redist before you get this task. It is contained inside Microsoft.Build.VisualJSharp.dll
VCBuild
Runs vcbuild.exe, which builds Visual Studio Visual C++ projects.
Warning


WriteLinesToFile



asminfoGenerates an AssemblyInfo file using the attributes given.

attribChanges the file attributes of a file or set of files.

available Checks if a resource is available at runtime.
MSBuild call Call a target in the current project.

cl Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler.

cvs-checkout Checks out a CVS module to the required directory.

cvs-update Updates a CVS module in a local working directory.

description An empty task that allows a build file to contain a description.

foreach Loops over a set of items.

get Gets a particular file from a URL source.

if Checks the conditional attributes and executes the children if true.

ifnot The opposite of the if task.

include Includes an external build file. In MSBuild use Import

jsc Compiles JScript.NET programs.

lib Run lib.exe, Microsoft's Library Manager.

license Generates a .licence file from a .licx file.

link Links files using link.exe, Microsoft's Incremental Linker.

loadtasks Loads tasks form a given assembly or all assemblies in a given directory or fileset.In MSBuild use UsingTask

mail Sends an SMTP message.

mc Compiles messages using mc.exe, Microsoft's Win32 message compiler.

midl This tasks allows you to run MIDL.exe.

move ||Moves a file or set of files to a new file or directory.

nant Runs NAnt on a supplied build file. This can be used to build subprojects.

nantschema Creates an XSD File for all available tasks.

ndoc Runs NDoc to create documentation.

nunit Runs tests using the NUnit V1.0 framework.

nunit2 Runs tests using the NUnit V2.1 framework.

rc Compiles resources using rc.exe, Microsoft's Win32 resource compiler.

readregistry Reads a value or set of values from the Windows Registry into one or more NAnt properties.

regex Sets project properties based on the evaluatuion of a regular expression.

regsvcs Installs or removes .NET Services.

script Executes the code contained within the task.

servicecontrollerAllows a Windows service to be controlled.

sleep A task for sleeping a specified period of time

solution Compiles VS.NET solutions (or sets of projects) Use MSBuild to compile VS2005 solutions

style Processes a document via XSLT.

sysinfo Sets properties with system information. MSBuild exposes environment variables by default

tlbexp Exports a .NET assembly to a type library that can be used from unmanaged code

tlbimp Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe)

tstamp Sets properties with the current date and time.

unzip Extracts files from a zip file.

xmlpeek Extracts text from an XML file at the location specified by an XPath expression.

xmlpoke Replaces text in an XML file at the location specified by an XPath expression.

zip Creates a zip file from a specified fileset.

No comments: