Search
Close this search box.

TFS API 

Team Foundation Server Application Programming Interface, Team Foundation Server SDK, Team Foundation Server Software Development Kit

TFS API – Reporting Visual Studio Solution And Project Versions

Problem Definition I am about to take ownership of a TFS 2005 repository that has projects for BizTalk, SharePoint, SSIS, SSAS, different flavors of .NET, to complicate things, the customer is using different versions of visual studio to develop and maintain these solutions. To take control of the source control and successfully manage the build infrastructure it is important for me to have a view on what project types, what version of these project types, what version of visual studio, etc are being ……

Posted On Tuesday, January 29, 2013 1:36 AM

The year 2012 in highlights!

2012 has been an overwhelming year, I had my share of up’s and down’s. The year started on a high note with Microsoft presenting me the MVP award for Visual Studio ALM. I changed my availability status (no this doesn’t have anything to do with the MVP award) from being single to being married on 11th February – My big fat Indian Wedding. During my visit to India I met Chuck, with support from Anuthara and her team in IDC I launched an initiative to deliver a series of videos with the product team ……

Posted On Monday, December 31, 2012 9:55 AM

TFS API Change WorkItem CreatedDate And ChangedDate To Historic Dates

There may be times when you need to modify the value of the fields “System.CreatedDate” and “System.ChangedDate” on a work item. Richard Hundhausen has a great blog with ample of reason why or why not you should need to set the values of these fields to historic dates. In this blog post I’ll show you, Create a PBI WorkItem linked to a Task work item by pre-setting the value of the field ‘System.ChangedDate’ to a historic date Change the value of the field ‘System.Created’ to a historic date Simulate ……

Posted On Saturday, October 27, 2012 1:53 PM

TFS API Add Favorites programmatically

01 – What are we trying to achieve? In this blog post I’ll be showing you how to add work item queries as favorites, it is also possible to use the same technique to add build definition as favorites. Once a shared query or build definition has been added as favorite it will show up on the team web access. In this blog post I’ll be showing you a work around in the absence of a proper API how you can add queries to team favorites. 02 – Disclaimer There is no official API for adding favorites programmatically. ……

Posted On Thursday, October 18, 2012 4:24 PM

TFS API Find out who deleted your build?

I am sure you have been in the situation where you start following a change through the list of builds and suddenly realize a lot of the builds have been deleted by some one! The good news is, when the build is deleted from the build explorer in Visual Studio it is only ……..

Posted On Sunday, May 20, 2012 4:43 PM

Get Detailed Build Test Results using the TFS API

It’s a Friday evening and you have just checked in that last bit of code, you are waiting for the build to go all green so that you could call it a day. Just then the build summary page comes back red on the test results section. The build summary page tells you that 1 of the test namely HelloWorld.Tests.UnitTest1.Sum_TwoIntNumbers_IncorrectResult_TestMethod has failed………

Posted On Wednesday, May 16, 2012 11:37 PM

Community TFS Build Manager – Build Notes Preview

Lately I have been working on a feature for the TBM which will help you automate much of the release note creation process by allowing you to generate a summary document from the build summary.

Posted On Friday, April 27, 2012 6:38 PM

TFS SDK: Work Item History Visualizer using TFS API

Download from here If you track your project tasks against work items, you would know the importance of Work Item History. This is one way for you to reflect on who did what and when, some organizations use it for auditing purposes as well. Using the WorkItemStore service it is possible to get the work item revisions, now depending on how creative you are, you can plot the data and visualize the changes as you like. In this blog post I’ll be showing you, How to get the work item history programmatically ……

Posted On Sunday, August 21, 2011 6:18 PM

TFS SDK: Compare Changesets programmatically

I will be covering three things in this blog post Get the history i.e. all change sets of an item programmatically using the TFS API. Download the change sets programmatically using the TFS API Use WinMerge to compare those change sets programmatically 1. How do i get the history of a file using TFS API? The VersionControlServer Class exposes the QueryHistory method that gets you all changesets that have impacted a file or folder you are querying for. public IEnumerable QueryHistory( string path, ……

Posted On Saturday, July 23, 2011 10:18 PM

TFS 2010 SDK: Get List of user Workspaces and checked out files Programmatically

Technorati Tags: Team Foundation Server 2010,TFS API,TFS SDK 2010,TFS Administration Working as a TFS Administrator maintaining the user workspaces is a very important task. Using the TFS API it is very easy to get a list of user workspaces, undo pending changes and delete workspace mappings if required. It is common to see people leave as the bell curve dips with the project delivery but some times what is left behind is a set of checked out files in workspaces. In this blog post i will show you ……

Posted On Saturday, July 16, 2011 8:39 PM

Full TFS API Archive

This article is part of the GWB Archives. Original Author: Tarun Arora

Related Posts