TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'TFS Extensibility'

Solved: The type ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ cannot be used as type parameter…

February 22nd, 2016 · 2 Comments · TFS Extensibility

The Problem You are receiving one of the following compiler errors: The type ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ cannot be used as type parameter ‘TService’ in the generic type or method ‘VssRequestContextExtensions.GetService<TService>(IVssRequestContext)’. There is no implicit reference conversion from ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ to ‘Microsoft.TeamFoundation.Framework.Server.IVssFrameworkService’. ‘ILocationService’ does not contain a definition for ‘GetSelfReferenceUri’ and no extension method ‘GetSelfReferenceUri’ accepting a first argument […]

[Read more →]

Tags:

Q: How can I use an TfsTeamProjectCollection to authenticate against the REST API (*HttpClient)?

February 22nd, 2016 · No Comments · TFS Extensibility

Answer: If you are already authenticated against the “classic” TFS Object Model from the Microsoft.TeamFoundationServer.ExtendedClient NuGet Package  (typically having an instance of TfsTeamProjectCollection), you can use its GetClient<T> generic method to aquire an *HttpClient class from the REST API. Example: TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(new Uri(collectionUri))) TfvcHttpClient tfvcClient = tpc.GetClient<TfvcHttpClient>(); See also “Example 3” at: […]

[Read more →]

Tags:

Download: Visual Studio 2010 Project Template for TFS Utilities

November 16th, 2011 · 4 Comments · TFS 2010, 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 of post for download link) 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 […]

[Read more →]

Tags:

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 […]

[Read more →]

Tags:

Using rich HTML descriptions instead of plain text

January 11th, 2009 · 6 Comments · 9672, Team Foundation Server, TFS Extensibility, TFS Process Customization, TFS Tips and Tricks, TFS Work Item Tracking, VSTS

Objective Allow rich HTML formatting in description fields of the MSF Agile process template. Note: The MSF CMMI process does support HTML formatting by default. In order to use it you have to enable the formatting toolbar (see Step 6 below). Work Item Customization Step 1: Add a new HTML description field Since the System.Description […]

[Read more →]

Tags:

Documentation: Team Foundation Server SDK (online version)

February 23rd, 2008 · 1 Comment · Team Foundation Build (TF Build), Team Foundation Server, Team Foundation Version Control, TFS 2005, TFS 2008, TFS Administration, TFS Extensibility, TFS Process Customization, Third-Party Solutions, Training and Learning

From the contents: Team Foundation Server Extensibility Team Foundation Server SDK Architecture How to: Run Team Foundation Server SDK Samples Team Foundation Core Services Work Item Tracking Extensibility Source Control Extensibility Data Warehouse Extensibility Reference for Team Foundation Server SDK Link: http://msdn2.microsoft.com/en-us/library/bb130146(VS.80).aspx

[Read more →]

Tags:

Copy area and interation structure using the Area Import/Export Tool

July 7th, 2007 · 14 Comments · Downloads, Team Foundation Server, TFS 2005, TFS 2008, TFS Administration, TFS Extensibility, TFS Tips and Tricks, TFS Work Item Tracking, Tools and Utilities, Work Item Customization

If you look for a way to export and import your area and/or iteration structure the Team Foundation Object Model (TFOM) is your friend. However it’s only your friend if you know where to look for. While the export works perfectly using the WorkItemStore, the import is only possible through the ICommonStructureService (and could be […]

[Read more →]

Tags:

Download: Visual Studio 2005 Project Template for TFS Utilities

July 7th, 2007 · 1 Comment · TFS Extensibility

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 all Microsoft.TeamFoundation.*.dlls as well as the most important using statements and a few lines of code to get […]

[Read more →]

Tags:

Getting started using Custom Work Item Controls

July 7th, 2007 · 1 Comment · Team Foundation Server, TFS 2005, TFS Extensibility, TFS Process Customization, TFS Tips and Tricks, TFS Work Item Tracking, Work Item Customization

Since Service Pack 1 [1] we have the ability to create our own controls to display field value within a work item form which gives us great flexibility. However there are two caveats with custom work item controls right now that aren’t solved: They do not work with Web Access [2] so it’s not a choice for […]

[Read more →]

Tags:

How Do I: Customize TeamPlain? and How Do I: Create Custom Work Items in Team Foundation Server?

June 24th, 2007 · No Comments · TFS 2005, TFS Extensibility, TFS Tips and Tricks, TFS Work Item Tracking, Training and Learning

What do both topics have in common? Well, Microsoft started to publish How-Do-I-videos for various technologies and these two were the same topics covered on Visual Studio Team System. How Do I: Customize TeamPlain? In this video, Scott Golightly shows you how you can customize TeamPlain Web Access to work the way that you do. You […]

[Read more →]

Tags: