Visual Studio Team Services

Visual Studio Add-ons & getting change notifications for TFS Project Changes

Whenever writing an add-on for Visual Studio that shall interact with the user’s currently selected Team Foundation Server, you can be notified via an event once the project is available or changes (and is closed) via the TeamFoundationServerExt.ProjectContextChanged() event.

Buck Hodges has recently provided some sample code that shows & explain how to get ahold of the TeamFoundationServerExt instance. As usual, you need an up-to-date Visual Studio SDK and the assembly the class resides in is Microsoft.VisualStudio.TeamFoundation(.dll).


Comments disabled.