Versioning Code in TFS – Revised


This is a revised and combined post covering the two previous posts, Versioning Code in TFS Part 1 & Part 2. If you haven’t read those two posts, then this revised post is all you need to read. If you have read the two previous posts, then although similar, I recommend you read this revised…

Versioning Code in TFS – Part 1


UPDATE: Please see MSBuild Extension Pack 24 July 2008 UPDATE: Part 2 is available. I’ve lost count of the number of blog posts, forum questions and internal emails that I have seen regarding problems with versioning assemblies in TFS. I’ve made various responses to them and in many said I would put together some thoughts…

Versioning Code in TFS – Part 2


7 Nov 2009: Update In Versioning Code in TFS – Part 1 I covered most of my thoughts on the matter. I’ve since helped a colleague out with implementing code versioning using GetBuildNumber and SetBuildNumber in the FTDTFSBuild task. I was disappointed that the experience wasn’t as smooth as it could have been and following…

Versioning Code in TFS – Part 1


7 Nov 2009: Update 24 July 2008 UPDATE: Part 2 is available. I’ve lost count of the number of blog posts, forum questions and internal emails that I have seen regarding problems with versioning assemblies in TFS. I’ve made various responses to them and in many said I would put together some thoughts to clarify…

Using the TFS Build Number Task with TFS 2008


UPDATE: 13 July 08 — These tasks are now available in the FreeToDev MSBuild Tasks Suite The sample code provided in the blog post covering this light weight task needs to be tweaked if using TFS 2008: TFS 2005: <GetBuildNumber BuildType=”$(BuildType)” BuildNumber=”$(BuildNumber)” Format=”Elapsed” StartDate=”1 Jan 2007” ZeroPadding=”4″ Major=”2″ Minor=”1″>        <Output TaskParameter=”AssemblyFileVersion” PropertyName=”ElapsedBuildNo” /></GetBuildNumber><GetBuildNumber BuildType=”$(BuildType)” BuildNumber=”$(BuildNumber)”…

TFS Build Number Tasks


UPDATE: 13 July 08 — These tasks are now available in the FreeToDev MSBuild Tasks Suite UPDATE (15 May08): See this post for TFS 2008 support I’ve added two simple tasks to the FreeToDev.MSBuild.Tasks assembly, both relate to build numbers in TFS. I’ve previously modified and used the AssemblyInfo task to get assembly versions consistent…