views:

92

answers:

3

I'm trying to create a tool which will help my team perform code reviews on a more regular basis without it's usual massive overhead.

At the moment the manual process involves using Team Foundation Sidekicks to identify the Changesets and then exporting that to excel to filter the results to find which items need to be reviewed (e.g. code files).

I've heard mention of using a TFS API, but found very little help online possibly because I was asking google 'the wrong questions'.

A: 

Colin, why are your developers checking code in before it is reviewed? Why not have the developers shelve their changes and then review the shelveset?

IAC, there is a TFS API. It can be accessed by including the following files:

TeamFoundation.Client

TeamFoundation.VersionControl.Client

The API is pretty straightforward. In fact, I am using it as we speak to programmatically check files in and out in a C# application.

Randy Minder
A: 

Check out the Team Foundation Server SDK documentation here: http://msdn.microsoft.com/en-us/library/bb130146.aspx.

EDIT: fixed the link to point to the 2008 version.

Gerrie Schenck