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.

TeamBuild 2010 : Workflow Foundation 4.0 activities

TeamBuild 2010 : Workflow Foundation 4.0 activities

This post is part of a series on TeamBuild 2010:

It’s time i get back to my presentation of TeamBuild 2010 new features :)

Since TeamBuild is now based on Workflow Foundation 4.0 Microsoft has provided some activities specifically for TeamBuild. Those activities are like the Task in TeamBuild 2008 :

read more →