Top "Tfs-sdk" questions

This tag is used to identify questions about the use of the Azure DevOps / TFS API, in any supported language, and any tools that support or build upon it.

How to programmatically get information about branches in TFS?

I need to programmatically find out information about branches in TFS. For instance the main thing i am interested is …

.net tfs tfs-sdk
How to Associate an work item as "Associate" or "Resolve" in Visual Studio TFS API (VS2015)?

I have forked a project with the code below: var pc = ParentSection.GetService<IPendingChangesExt>(); var model = pc.GetType().…

visual-studio visual-studio-2012 tfs visual-studio-2015 tfs-sdk
Is out there any REST API for TFS 2013 On-Premises installation?

We use company Team Foundation Server 2013 for source code and task management. Is there a way how can I manipulate …

tfs-sdk azure-devops-rest-api
TfsConfigurationServer.GetService<VersionControlServer>() always returns null

I'm trying to connect to TFS 2010 using TFS SDK, but can't get VersionControlServer service. var servers = RegisteredTfsConnections.GetConfigurationServers(); // ok then …

c# .net tfs tfs-sdk
How to retrieve list of child tasks from a Product Backlog Item in TFS API?

Given a certain product backlog id, I want to programmatically retrieve a list of tasks that are child to the …

c# .net tfs-sdk
Block Check-In on Policy Failure

I've created the check-in policy from this MSDN article as an example (code is just copy / pasted). This works fine, …

visual-studio-2012 tfs-sdk tfvc checkin-policy
Passthrough (impersonation) authentication with ASP.NET and TFS api

I'm trying to enable passthrough or impersonation authentication inside an ASP.NET website that uses the TFS2010 API. I've got …

asp.net tfs impersonation tfs-sdk
TFS API: GetLocalWorkspaceInfo always returns null

On one of my machines, I get a return value of null from any GetLocalWorkspaceInfo call. I have isolated to …

c# tfs-sdk
How to map a TFS item url to something viewable

We are programmatically generating deployment emails, based on the history of changesets and associated workitems since the last deployed build. …

tfs tfs-sdk
Get the URL of the WebAccess for a TFS Team Project programmatically

I want to get the URL of the web access Page for a specific TeamProject. I found some samples using …

tfs tfs-sdk