MSBuild Community Tasks Project for VS 2005

David Yack posted a great pointer to a community project where you can find a long list of cool MSBuild Custom Tasks that you can use within your VS 2005 build environments.  You should be able to use these with both the VS 2005 Web Deployment Project and with the VS 2005 Web Application Project option in VS 2005 when building ASP.NET 2.0 projects.

You can learn about the project and download a .MSI setup containing them here.  Check out the current list of cool MSBuild tasks they have on the web-site:

AppPoolController* Allows control for an application pool on a local or remote machine with IIS installed.

AppPoolCreate*

Creates a new application pool on a local or remote machine.

AppPoolDelete* Deletes an existing application pool on a local or remote machine.
AssemblyInfo Generates an AssemblyInfo file using the attributes given.
FileUpdate* Replace text in file(s) using a Regular Expression.
FtpUpload Uploads a file using File Transfer Protocol (FTP).
FxCop* Uses FxCop to analyze managed code assemblies and reports on their design best-practice compliance.
Mail Sends an email message.
Math.Add Add numbers.
Math.Divide Divide numbers.
Math.Multiple Multiple numbers.
Math.Subtract Subtract numbers.
NDoc Runs NDoc V1.3.1 to create documentation.
NUnit Runs tests using the NUnit V2.2 framework.
RegistryRead Reads a value from the Registry.
RegistryWrite Writes a value to the Registry.
Script* Executes code contained within the task.
ServiceController* Task that can control a Windows service.
ServiceQuery* Task that can determine the status of a service.
Sleep* A task for sleeping for a specified period of time.
SqlExecute* Executes a SQL command
SvnCheckout Checkout files from Subversion
SvnClient Subversion Client
SvnCommit Commit files to Subversion
SvnExport Export files from Subversion
SvnUpdate Update files from Subversion
SvnVersion Get Subversion revision number of a local copy
Unzip Unzip a file to a target directory.
Version Increments a four-part version number stored in a text file
VssAdd* Adds files to a Visual SourceSafe database.
VssCheckin* Checks in files to a Visual SourceSafe database.
VssCheckout* Checks out files from a Visual SourceSafe database.
VssClean* Removes Visual SourceSafe binding information and status files from a Visual Studio solution tree.
VssDiff* Generates a diff between two versions of an item in a Visual SourceSafe database.
VssGet* Gets the latest version of a file or project from a Visual SourceSafe database.
VssHistory* Generates an XML file containing the history of an item in a Visual SourceSafe database between two dates or labels.
VssLabel* Labels an item in a Visual SourceSafe database.
VssUndoCheckout* Cancels a checkout of an item from a Visual SourceSafe database.
WebDirectoryCreate* Creates a new web directory on a local or remote machine.
WebDirectoryDelete* Deletes a web directory on a local or remote machine
WebDownload* Downloads a resource with the specified URI to a local file.
XmlRead Reads a value from a XML document using a XPath.
XmlWrite Updates a XML document using a XPath.
Xslt* Merge and transform a set of xml files.
Zip Create a zip file with the files specified.

Hope this is useful -- and special thanks to David for pointing me at it,

Scott

Update: Ulab also pointed me at this link which has some pretty cool MSbuild tasks too: http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=2cb20e79-d706-4706-9ea0-26188257ee7d (thanks Ulab!)

2 Comments

  • We plan on releasing a new version very soon that will include all the tasks marked with an asterisk. If you don't want to wait, you can always download the source and compile the project yourself.



    Thanks posting about this Scott.



    Doug

  • Try the link above. Some tasks like db installation are really really cool ... No more db install scripts.

Comments have been disabled for this content.