Article Index

MSBuild Community Tasks 1.2 Released

I just released version 1.2 of the MSBuild Community Tasks open source project. It is the first official release in almost a year (although nightly builds are always available). It includes 18 completely new tasks, as well as enhancements and bug fixes to many more.

My focus since getting involved in the project has been to enhance support for using MSBuild as a deployment tool. A simple MSBuild script can be the perfect solution for a light-weight, xcopy style deployment, in lieu of a more involved MSI based installation. With the new tasks, your deployments can be much more sophisticated, with support for creating and configuring IIS websites, installing ASP.NET script maps, running Installer classes, and my favorite, using XmlMassUpdate to update .config files with environment-specific settings.

Download the installer to get started. Make sure to read the release notes, especially if you have existing scripts that use the Version task. The Version task has some major breaking changes, but the notes will explain how to simulate the old behavior if desired.

Each of the tasks is fully documented in a compiled help file included with the download. If you have any issues or suggestions, please submit feedback on the project page. You can also get help in the MSBuild Tasks forums, or leave a comment on this page.

Thanks to everyone that contributed code and feedback toward making this project a success.

Comments

Could you take a look at my problem at http://msbuildtasks.com/forums/95/ShowThread.aspx#95 ?
JeffG - March 26, 2007 04:04pm
The situation you described is a bug which I intend tofix.
I've posted a possible workaround on the forum.
Joshua Flanagan - March 26, 2007 05:33pm
The post refers to "support for creating and configuring IIS websites". In release 1.2, I see plenty of support for creating and configuring application pools and virtual directories, but I don't see the ability to create websites. Is this functionality present?
Gregory Phillips - April 08, 2007 08:47pm
I was referring to the ability to define web application directories. Sorry if the terminology I used got your hopes up. Do you have a need to create a new IIS Web Site during a build script?
Joshua Flanagan - April 09, 2007 11:01pm
Yes. We're trying to integrate all our deployment into MSBuild, and when we do a "clean" deployment we want to re-create the web server instance from scratch. We can execute the IIS admin scripts for this, but encapsulating that functionality into an MSBuild task is a cleaner approach.
Gregory Phillips - April 10, 2007 02:48pm