TeamBuild: TFS Build Extensions – August 2012

TeamBuild: TFS Build Extensions - August 2012

We just published a new stable version of the Community TFS Build Extensions. For a list of updates see the download page here.

Your feedback and suggestions are welcomed, use the site’s forum for this :)

Carpe Diem.

TeamBuild 2010: TFS Build Extensions v1.2

TeamBuild 2010: TFS Build Extensions v1.2

We just published a new stable version of the Community TFS Build Extensions. For a list of updates see the download page here.

Your feedback and suggestions are welcomed, use the site’s forum for this :)

Carpe Diem.

TeamBuild 2010: TFS Build Extensions v1.1

TeamBuild 2010: TFS Build Extensions v1.1

A quick post to inform you that Mike published yesterday a new stable release of the Community TFS Build Extensions. This release contains some bug fixes and new features.

We intend to continue on a release every 2 or 3 months. Your feedback and suggestions are welcomed, use the site’s forum for this :)

Carpe Diem.

TeamBuild 2010: TFS Build Extensions v1

TeamBuild 2010: TFS Build Extensions v1


Yesterday was released the first stable version of the Community TFS Build Extensions. It’s a set of new activities for TeamBuild 2010 so that you can customize your build process. Here are some of the provided activites:

  • File
  • Zip
  • AssemblyInfo
  • CodeMetrics
  • RoboCopy
  • NUnit
  • HyperV
  • TfsSource
  • Email

A big thanks to Mike Fourie the coordinator and principal contributor on the projet and to all other contributors (including me :)).

We welcome your feedback and suggestions. It’s a start and we hope to release new versions every 2 or 3 months.

Carpe Diem.

TFS 2010: Build Customization Guide

TFS 2010: Build Customization Guide

BCG-S-1

The VisualStudio ALM Rangers just published their build customization guide!

For more infos, see the VisualStudio ALM Rangers blog or the projet’s codeplex site.

Carpe Diem.

TeamBuild 2010: Customized expandable parameters

TeamBuild 2010: Customized expandable parameters

Here’s a small post on how to add customized expandable parameters to a build workflow. What i mean by expandable parameters is parameters with a small + sign so that you can expand the parameter to fill its properties, the main line containing a summary of the values:

image

read more →

TeamBuild 2010 : UpdateAssemblyInfo v1.1

TeamBuild 2010 : UpdateAssemblyInfo v1.1

I published the version 1.1 of my TeamBuild 2010 activity to update versioning attributes in AssemblyInfo files. This new version brings the following features:

  • Added support for the AssemblyInformationalVersion attribute with the following tokens:
    • $(version): the AssemblyVersion value after update.
    • $(fileversion): the AssemblyFileVersion value after update.
    • $(date:<format>): the current date.
  • Lowered BuildMessageImportance of successful file update from High to Normal.
  • Added VersioningSettings class to manage activity settings.

The sample workflow project was also updated to use the new VersionSettings class. If you have any remarks, bugs or request feel free to use the forum or enter an issue on codeplex.

Carpe Diem.

TeamBuild 2010: UpdateAssemblyInfo activity sample

TeamBuild 2010: UpdateAssemblyInfo activity sample

As promized her is a sample of how i’m using the UpdateAssemblyInfo activity i’ve published on codeplex.

First let’s describe what we want:

  1. Increment the build number of my AssemblyFileVersion automatically for all the projects in a solution when doing a build. The major and minor versions of the AssemblyVersion and AssemblyFileVersion must not change and the revision number must be 0.
  2. Don’t modify the solution sources in TFS and let the developers do what they want.
  3. The BuildNumber of my build must contains the AssemblyFileVersion so that my build name, label and drop location are easily identifiable.
  4. Don’t modify the version numbers when doing a gated checkin or a private build.
  5. Be able to launch a build and specify to skip versionning.

Before updating our build template i’ll start by configuring my solution to make easier the versionning of all the projects. Let’s add a GlobalAssemblyInfo.cs (or .vb if you use VB.Net) file to the solution as a solution item:

read more →

TeamBuild 2010: Microsoft finally using his own build tools :)

TeamBuild 2010: Microsoft finally using his own build tools :)

Brian Harry just annouced on his blog that the Developer Division has made successfully it’s first end-to-end build of all Visual Studio using TeamBuild 2010. Here’s an other proof that it’s a great product.

As Brian says, Microsoft will now be able to test and find missing features to add for future versions.

Carpe Diem.

UpdateAssemblyInfo Activity for TeamBuild 2010

UpdateAssemblyInfo Activity for TeamBuild 2010

I’ve published on codeplex an activity which provides a way to manipulate the AssemblyVersion and AssemblyFileVersion values of AssemblyInfo files at build time under TeamBuild 2010: UpdateAssemblyInfo.

This activity supports the use of a pattern to specify how to update the AssemblyInfo files versions. the following tokens are dynamically replaced during execution:

  • $(current): uses the current value.
  • $(increment):increments the current value.
  • $(date<format>): uses the current date formatted with the specified <format>.
  • An integer: forces the value to the specified value.

The specified pattern must respect the version numbers form “A.B.C.D”. As an example, the pattern “$(current).$(current).$(increment).0″  keeps the current major and minor version, increments the build number and forces the revision to 0.

I’ll post an entry on an example of how to integrate this activity soon but for now i’ll recover for those past days heat (and the lack of sleep which goes with it :)). Stay tuned!

Carpe Diem.