How to set the “default” configuration for a project. 25 June 2013 Donovan-Brown Work (0) Being a Process Consultant specializing in TFS I teach many companies how to use Team Build. When you create a new build definition you have the option to set “Configurations to Build”. However, if you leave that value blank the build will build the “default” configurat... [More]
I have to create the same branches in every new team project 17 December 2012 Donovan-Brown Work (0) Problem: I have to create the same branching structure in several team projects. I would like a way to automate this process. Solution: Use the tf.exe and tfpt.exe command line tools in a batch file. Explanation: Using the tf.exe and tfpt.exe command line tools you can preform the same ta... [More]
All my workspaces are missing! 24 August 2012 Donovan-Brown Work (0) Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"... [More]
How to fail a TFS2010 Build from workflow 04 October 2011 Donovan-Brown Work (0) Problem: I have tried setting the BuildDetail.CompilationStatus and BuildDetail.Status but my build keeps Partially Succeeding. Solution: Use the SetBuildProperties activity to set the status to fail.
Build workspace folder already mapped. 03 October 2011 Donovan-Brown Work (0) Problem: My Team Build keeps failing with an error that my source folder is already mapped in another workspace. The path C:\Builds\1\Demo\Reports\Sources is already mapped in workspace 7_1_WIN-GS9GMUJITS8. Solution: Use the tf.exe tool to delete the workspace holding on to that location. Explan... [More]
I need to build a project that is not supported by MSBuild 15 July 2011 Donovan-Brown Work (0) Problem My solution contains a .vdproj and it is not supported by MSBuild. Solution Call devenv from team build using InvokeProcess for .vdproj projects. Explanation This customization can be extended to build any project types not supported by MSBuild (vb6, power builder, fortran, VC++ 6, etc)... [More]
My build agent just stopped working! 20 June 2011 Donovan-Brown Work (0) Problem My build agent state in Team Foundation Administrative Console states Ready but the icon shows stopped and I can't queue builds. Solution Either log in as the Service Account used to run the build agent or log in using any account and right click on IE and run as the Service Account.1. ... [More]
I need to attach files larger than 4KB to my work items in TFS 2010 20 May 2011 Donovan-Brown Work (0) How to increase the work item attachment size in TFS2010. [More]
How to customize the available Build Qualities in TFS2010 25 September 2010 Donovan-Brown Work (0) Shows you how to add or remove build qualities in TFS2010 [More]
Can't save values in custom controls on TSWA 2010 27 August 2010 Donovan-Brown Work (0) Problem: I just upgraded my TFS 2008 to 2010 and my custom TSWA controls are no longer saving values. Solution: Make sure the first thing you do in the InitializeControl() method from the IWebWorkItemControl inteface is call the code that populates the base.Controls collection.&nbs... [More]