Validate code automatically during a Team Foundation Build 03 June 2014 Donovan-Brown Work (0) Problem: I need to run my Layer Diagram validation during my build. Solution: Edit your build definition and under Build process parameters, expand Advanced, and type the following in the MSBuild Arguments parameter: /p:ValidateArchitecture=true
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 get an error trying to run reports on TFS2012 install 19 March 2013 Donovan-Brown Work (0) Problem: I get the following error when I attempt to view reports: An error has occurred during report processing. (rsProcessingAborted)Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser)Log on failed. Ensure the user name and password are correct. (rsLogonFailed)For ... [More]
How to connect Visual Studio 2008 (including SQL Server Business Intelligence Development Studio) with TFS 2012 21 December 2012 Donovan-Brown Work (0) Too connect to TFS 2012 you will need to install the following components: TE 2008 http://www.microsoft.com/en-us/download/details.aspx?id=16338 SP 1 http://www.microsoft.com/en-us/download/details.aspx?id=10986 GDR http://www.microsoft.com/en-us/download/details.aspx?id=29983
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]
Why is my MS Project run so slow when connected to TFS. 19 September 2011 Donovan-Brown Work (0) Problem: With MS Project connected to TFS Project takes forever to refresh. Solution: One possible solution is to change the calculation mode from automatic to manual. To change the calculation mode select Tools / Options / Calculation / Calculation Mode and change from automatic to manual.
I need to show TFS history of a file on the command line so I can redirect to a text file. 13 September 2011 Donovan-Brown Work (0) Problem: When I run the tf history command from the command line it shows a dialog box. Solution: Add the /noprompt option to the TF History command. This will cause the output to be shown in the command window. You can then use DOS redirection to easily store the results in a text file. For exa... [More]