TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Download: Visual Studio 2008 Project Template for TFS Utilities

January 14th, 2009 · 4 Comments · TFS Extensibility, Tools and Utilities

If you develop small utilities for Team Foundation Server a lot you might want to save some time and use a project template (see bottom for file attachment) that already comes equipped with the correct references to the Team Foundation Object Model (Microsoft.TeamFoundation.*.dlls) as well as the most important using statements and a few lines of code to get started.

Installation

Copy the ZIP file to {MyDocuments}\Visual Studio 2008\Templates\ProjectTemplates.

Usage

Create a new project and select “TFS Utility” from the “My Templates” list.

TFS Utility Project Template

The template creates a new Windows Forms application with references to the Microsoft.TeamFoundation.*.dlls (btw: the C# compiler gets rid of all references that were not used in the project during compilation)…

References to Team Foundation Object Model 

… as well as a a few using statements and some code to start from.

Generated code in Form1.cs

Happy TFS tool development!

 

Download: TfsUtility.zip

Update (Nov 13, 2011): There is an updated version available for VS 2010.

Tags:

4 Comments so far ↓

Leave a Comment

*