TFS Build On Azure with Incremental Version Number

I’ve recently needed to create a TFS Build over Azure Web Sites and Hosted TFS with incremental build versions (changing AssemblyInfo.* files).

I’ve found this excellent project in CodePlex that works with TFS 2010.

So, I’ve made the following modifications for it to work in Hosted TFS Build and Azure Web Sites:

  1. Take the AzureContinuousDeployment.11.xaml workflow and add the custom activities for it to support the same functionality as in the CodePlex Project.
  2. Changed the revision incremental logic to accept ChangeSet numbers.

 

The code is not best quality, only proof of concept.

Download it from here and follow the deployment instructions on the original CodePlex project (work over the Build Definition generated by Azure Web Sites).

No Comments