Buck Hodges
Azure DevOps (formerly VSTS and Team Foundation Server)
Latest posts

Team System Web Access for TFS 2005 FAQ
I wanted to highlight the TSWA for TFS 2005 FAQ since it contains good information, including how to switch between Windows authentication and forms authentication, turning off forms authentication, and how to construct the URL to a work item using the work item's ID.Visual Studio Team System Web Access FAQ Technorati tags: tfs, team foundation, team system web access

TFS API: Determining if an edited file has changed
A few times over the last several months, the question has come up regarding how to determine whether a file on disk that is being edited is different that what is checked into TFS version control. Folks looking at the PendingChange object have asked about the difference between the two hash value properties. If you query for the pending changes in the workspace using GetPendingChanges() (or QueryPendingSets() if you don't want all of the pending changes for the workspace), you'll get an array of PendingChange objects. The PendingChange object has quite a few properties. Two of t...

TFS 2008: Calling custom targets and documentation for the beta 2 object model
Aaron Hallberg has a written a great post on one of the new extensibility mechanisms we've added to the Microsoft.TeamFoundation.Build.targets file that forms the backbone of the msbuild process (it's imported by every tfsbuild.proj file and contains all of the targets and properties). Aaron shows you how to have a different target called for each of the projects and solutions that you build, which allows for greater flexibility in hour your projects and solutions are built. Calling Custom Targets Within Team Build In Team Build v1 (VSTF 2005), the CoreCompile target always invoked the Build target of the...

TFS 2008: A basic guide to Team Build 2008
Patrick Carnahan, a developer on Team Build, put together the following guide to the basic, as well as a few advanced, features of Team Build in TFS 2008. It's a great way to get started with continuous integration and other features in TFS 2008. Team Build – Continuous Integration One of the new and most compelling features of Team Foundation Build is the out-of-the-box support for continuous integration and scheduling. A few in-house approaches have been built around the TFS Soap Event mechanism, most likely set to listen for check-in events and evaluating whether or not a build should be performed. ...

Download: Creating and Customizing TFS Reports
I don't often post about reporting. My last post was about sample reports for TFS from a year ago. If you are trying to understand it or just get more out of it, there are now more resources to help you. On Friday (Aug. 10, 2007), a new article on TFS reporting became available for downloading. Creating and Customizing TFS Reports Brief Description This article provides an introduction to the important concepts and step by step instructions to Create and Customize Reports for Microsoft® Visual Studio® Team Foundation Server (TFS). Overview If you’ve used Microsoft&re...

Using CruiseControl.NET to trigger TFS 2005 builds for continuous integration
I ran across the following post by James Dawson and thought it may be of interest to folks trying to do CI with TFS 2005. Of course, you'll find CI as part of the product in TFS 2008. TeamBuild Plug-in for CruiseControl.NET I've been meaning to write this post for a couple of months now as a follow-up to a session that Colin and I gave at the Microsoft Architect Insight Conference back in March, but just haven't found the time... at least, that's my excuse - anyway cutting to the chase! Since the release of Team Foundation Server (TFS) there have been several Continuous Integration a...

TFS 2008: Command line help for tf.exe now prints to the console
In TFS 2005 running help from tf.exe popped up the MSDN help browser. That was a bit lame, but we didn't allocate the time to do it right. That's been fixed in TFS 2008. Running tf.exe /? produces a list of commands, and tf someCommand /? produces detailed help on that command. Here are a couple of examples. These two commands are also new in TFS 2008. D:\>tf destroy /?TF - Team Foundation Version Control ToolCopyright (c) Microsoft Corporation. All rights reserved. Destroys, or permanently deletes, version-controlled items from TeamFoundation version control. tf destroy [/kee...

Team System Web Access: Workaround for installation problem on a non-English Windows OS
[UPDATE 8/8/07] There is now a KB article on this issue. Hakan posted the following on Brian Harry's blog in response to a customer report about encountering the following issue when installing the new Team System Web Access release on German, French, Italian or Spanish Windows. We plan to add this to the FAQ page. Symptom: You receive the following error while trying to install Team System Web Access. System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated. (Spanish) System.Security.Principal.IdentityNotMappedException: No se...

Deleting test results from a build
In either TFS 2005 or TFS 2008, you can delete the test results published against a build (How to: Publish Test Results). However, discovering this feature may be difficult, and I didn't find it on MSDN in a quick search of the docs. What you'll need to do is to bring up the build details (aka the build report) in Visual Studio. Then expand the test results, right click on the link to the Test Run and choose Delete. Technorati tags: tfs, team foundation, tfs 2005, tfs 2008, team build