Sign In
Buck Hodges
Visual Studio ALM (VSALM, formerly VSTS) - Team Foundation Server (TFS)
Tags
C#
MSBuild
Random
Source Control
Team Build
Team Foundation
Team System Web Access
TFS 2010
TFS 2012
TFS API
TFS Basic
tsbt-tfs
TSWA Tip
Visual Studio 2010
VS11
VSTS
VSTS Building & Releasing
VSTS Testing
vsts2010
vstsr
Win7
Work Item Tracking
Browse by Tags
MSDN Blogs
>
Buck Hodges
>
All Tags
>
tfs api
Tagged Content List
Blog Post:
TFS 11: API for teams and understanding burn down charts
Buck Hodges
Ivan Popek has been spending a lot of time lately digging into TFS 11. He has written a series of posts on the APIs for teams in TFS 11, and he explains the burn down chart trend lines. TFS11 API: Query Teams and Team Members TFS11 API: Reading the Team Configuration – Iterations and Areas TFS11...
on
23 May 2012
Blog Post:
Team Foundation Version Control client API example for TFS 2010 and newer
Buck Hodges
Over six years ago, I posted a sample on how to use the version control API. The API changed in TFS 2010, but I hadn’t updated the sample. Here is a version that works with 2010 and newer and is a little less aggressive on clean up in the finally block. This is a really simple example that...
on
10 Mar 2012
Blog Post:
Listing the work items associated with changesets for a path
Buck Hodges
Philip wrote a simple app to list the work items associated with the changesets for a given path, and it’s in some ways an enhanced update of Naren’s post . Given an URL to a collection and a server path (e.g., $/myproject/coolthing), it will list the work items that are associated with...
on
1 Feb 2012
Blog Post:
How to get the TFS objects used in our own UI integration
Buck Hodges
Philip, a dev on version control, recently helped with a question on how to get the TFS objects we use in our UI. I thought I’d post since others may find it useful. We recently had a request from a customer for a VS add-in that would be able to access the same TfsTeamProjectCollection and VersionControlServer...
on
25 Jan 2012
Blog Post:
How to subscribe to checkins not under a particular path
Buck Hodges
Nick Kirchem, who works on the TFS web access team, recently answered a question on how email subscriptions on checkin alerts. The question was, how do I subscribe to checkin alerts not under a particular folder? Here’s how to do it. bissubscribe /eventType CheckinEvent /address someone@domain...
on
31 Oct 2011
Blog Post:
How to distribute custom checkin policies and work item controls using the power tools
Buck Hodges
Custom checkin policies and custom work item controls are great ways to take advantage of the extensibility of TFS. You can use checkin policies to enforce certain standards on checkins (even in your builds ). Custom work item controls allow you to add controls to your work item forms...
on
28 Mar 2011
Blog Post:
Team Foundation 2010 SDK published
Buck Hodges
Allen Clark has announced the publication of the first release of the TFS 2010 SDK . This represents a significant improvement in the documentation for the TFS API, and he will be releasing updates to it on a recurring basis. The first release is small (relative to the size of the TFS API...
on
6 Jul 2010
Blog Post:
Posts on using the new team project collection APIs
Buck Hodges
Taylor Lafrinere , a developer on Team Foundation Server who wrote a significant part of the new core server infrastructure APIs, has written a series of posts explaining some of the different parts. If you have other parts of the API that you are interested in, be sure to leave a comment on one...
on
15 Jun 2010
Blog Post:
How to see the TFS server calls made by the client
Buck Hodges
Back in 2006 I wrote a post about a performance dialog that lets you see all of the calls made by the client. It works with Visual Studio (devenv.exe), TFS command line (tf.exe), TCM command line (tcm.exe), Test Manager (mtm.exe), etc. It’s still in the product in 2010, and it’s as useful as ever...
on
23 Apr 2010
Blog Post:
TFS client API changes from Beta 2 to RC
Buck Hodges
While I don’t have a comprehensive list, I do want to point out these four changes in particular because these classes are fundamental to the API. If you have written code with the Beta 2 client API, here are the changes you will need to be aware of to use the RC client API. TeamFoundationServerBase...
on
11 Feb 2010
Blog Post:
Deep dive on Windows Workflow 4.0 activities
Buck Hodges
Patrick Carnahan is a developer on TFS Build, and he’s written a series of detailed posts on how to write custom activities in Windows Workflow 4.0 (WF), which is now used to orchestrate the build process for TFS Build in 2010. It’s a deep dive on WF activities. Jim Lamb’s post on how to...
on
21 Jan 2010
Blog Post:
Why the CheckInEvent doesn't list all of the files in a changeset
Buck Hodges
I recently received a question from someone about the CheckInEvent. We subscribe to the Notify event using the BisSubscribe tool. Basically we have many applications that share some projects, but as TFS has no mechanism for sharing we have written our own in house app. We have hooked into Notify for...
on
9 Feb 2009
Blog Post:
Team Foundation Build 2008 API documentation
Buck Hodges
The documentation for the team build 2008 object model is now available as a CHM file. Later this year, I'm told that the MSDN web site will be updated. http://download.microsoft.com/download/5/f/8/5f872c2e-4221-410b-b86e-4c3cd831b0c4/Team Foundation Build Managed Reference.chm After you download it...
on
13 Feb 2008
Blog Post:
Updated post on how to filter checkin emails by paths
Buck Hodges
I've made a significant update to the following post: Adding a path filter to a CheckinEvent subscription using bissubscribe . The reason is that the paths supplied by the server aren't consistently cased while XPath is case-sensitive. The result is that your subscriptions that filter based...
on
2 Feb 2008
Blog Post:
Martin Woodward's presentation on what's new in TFS 2008
Buck Hodges
Martin Woodward has a posted a great set of slides from a presentation he did on what's new in TFS 2008. After going through all of the features other than build, he spends more than half of the slides on the build features of TFS 2008 (aka Team Build). I highly recommend taking a look at the slides...
on
20 Nov 2007
Blog Post:
How to list the team projects created with a particular template in TFS 2008 or 2010
Buck Hodges
This question came up on an internal discussion, and I thought the answer would be useful to post. Question How we can find the list of projects created with the a particular VSTF template in TFS 2008 or 2010? In TFS 2005 we can find out programmatically as well with the query but in the new...
on
7 Nov 2007
Blog Post:
TFS API: Determining if an edited file has changed
Buck Hodges
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...
on
16 Aug 2007
Blog Post:
TFS 2008: Calling custom targets and documentation for the beta 2 object model
Buck Hodges
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...
on
15 Aug 2007
Blog Post:
Using an ASP.NET TFS data source
Buck Hodges
Kannan Sundararajan has written a couple of posts on how to use TFS as an ASP.NET data source. If you are interested in displaying TFS data in ASP.NET-driven web pages, you'll want to check it out. First he shows you how to build the data source and gives you the code that you need to build the dll....
on
25 Apr 2007
Blog Post:
TFS Migration and Synchronization Toolkit pre-release published on CodePlex
Buck Hodges
Matt Mitrik , the program manager for the TFS migration tools, has announced the availability of the first pre-release version of the Team Foundation Server migration and synchronization toolkit. If you are looking into how to migrate away from a different bug tracking or version control system, this...
on
23 Apr 2007
Blog Post:
Stop piling on when the build breaks: Build checkin policy for Continuous Integration in Orcas
Buck Hodges
Last fall, Clark Sell wrote a blog post called Stop, the build is broken!! that introduced a checkin policy that reported errors when the build was broken. If you are using continuous integration where every checkin starts a build, you want folks to stop and fix build breaks when they occur, rather than...
on
28 Mar 2007
Blog Post:
How to enable a checkin policy via the version control API
Buck Hodges
I recently needed to test a new checkin policy that I wrote. In order to do that, I needed to enable a checkin policy for the unit test's team project using the version control API. I was a little surprised when it wasn't quite as obvious as I had hoped, and I had to poke around in the source to figure...
on
1 Mar 2007
Blog Post:
Visual Studio 4.0 SDK is now available (includes updates to TFS extensibility documentation)
Buck Hodges
The Visual Studio 4.0 SDK was released today. Here's the announcement. On behalf of the VS Tools Ecosystem team, we are pleased to announce that after months of hard work, we have completed shipping the VS SDK 4.0 RTM release! We have done tons of work to make this release friendly to developers who...
on
1 Mar 2007
Blog Post:
Orcas March CTP is available now and includes new Team Foundation Server
Buck Hodges
Here's the announcement. Please download the TFS Virtual PC image and let us know what you think. Except for build scheduling, this CTP contains all of the new Team Build features, including continuous integration. We are excited to announce that the Visual Studio Code Name “Orcas” March 2007 CTP is...
on
28 Feb 2007
Blog Post:
Jeff Atwood's Team Foundation Server Event Subscription Tool
Buck Hodges
Jeff has posted a nice GUI for creating event subscriptions. This tool makes the process less arcane and error prone. Check it out! Team Foundation Server Event Subscription Tool To set up advanced subscriptions, you needed to use bissubscribe.exe. This is problematic, because the command-line syntax...
on
26 Feb 2007
Page 1 of 2 (40 items)
1
2