Questions tagged [tfs-sdk]

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. There are different APIs available. The REST API is the newer API. The older set of APIs consists of the Client Object Model, the Server Object Model and the Build Process Object Model. For .NET there are the .NET client libraries implementing clients for all these APIs.

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.

There are different APIs available. The REST API (https://learn.microsoft.com/en-us/rest/api/azure/devops) is the newer API. The older set of APIs consists of the Client Object Model, the Server Object Model and the Build Process Object Model (https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/bb130146%28v%3dvs.120%29).

For .NET there are the .NET client libraries implementing clients for all these APIs (see https://learn.microsoft.com/en-us/azure/devops/integrate/concepts/dotnet-client-libraries).

569 questions
0
votes
1 answer

How to get options list of TFS optioned field?

I'm working on TFS API 2010. I would like to get the available option list of a field to create a Combobox control. such as: Priority --> [1,2,3,4] Severity-->['4-low','3-medium','2-height','1-Critical']
knowwebapp.com
  • 95
  • 4
  • 16
0
votes
1 answer

Input directly user info when query work items

When code run into line 2, Windows will show a popup to input username, password for TFS access: TeamProjectCollection = new TfsTeamProjectCollection(new Uri(url), new…
knowwebapp.com
  • 95
  • 4
  • 16
0
votes
1 answer

How to remove the custom checkin policy while uninstalling?

I have a custom checkin policy written in c# and I used VSIX project with custom action enabled on install. Installation is working great. If I have the custom checkin policy applied to the team project in TFS 2010 and I uninstalled my policy from…
PushCode
  • 1,419
  • 3
  • 15
  • 31
0
votes
1 answer

Can we Export WIT BUG rename it and Import again on the same project

We have TFS 2010 environment, We have WIT BUG with so many customizations done. current need is want a new Work Item Type which has exactly same behaviour and functionality as “Bug”, but just a different name (Both Work Items, BUG and new WIT should…
0
votes
1 answer

How can I manipulate pending changes window programatically?

I am creating a clone of Merge Wizard of TFS to add new features. I already merged with workspakce.Merge api. Now I need a way to programatically show the Pending Changes - Conflict Window. I already have a IVsWindowFrame from PendingChangesExt…
Denny
  • 97
  • 7
0
votes
2 answers

TFS Continous build identify Build Failed Event

I have implemented continous build using TFS windows workflow. In this I have created a custom activity that will help me creating custom template of folders. Is there any way that I can monitor the status of the build, that is if the build fails…
user804401
  • 1,990
  • 9
  • 38
  • 71
0
votes
2 answers

Sign out website like TFS web portal did

I am attempting to write a website that connects to TFS and retrieves work item information NetworkCredential cred = new NetworkCredential("Username", "Password", "Domain"); tfs = new TeamFoundationServer("http://tfs:8080/tfs",…
knowwebapp.com
  • 95
  • 4
  • 16
0
votes
1 answer

How do I get information about a warning from the TFS-API

I'm trying to write a simple program in the TFS API that, given a change set number, will get latest on all the files in that change set. With the hope that this will make updating build servers easier. Using some black magic the code figures out a…
Mykroft
  • 13,077
  • 13
  • 44
  • 72
0
votes
1 answer

TFS SDK : Get Child Branches

What I want to do is to get the available branches that I can merge to. Pretty much the same as the dropdown when you say merge in TFS2008 and you select the destination branch. However, it's been very hard to find how. Below code is a merge between…
Kat Lim Ruiz
  • 2,425
  • 2
  • 26
  • 32
0
votes
0 answers

Accessing TFS files on sharepoint

I have a sharepoint webpart running on sharepoint server 2010 site which serves as the team project portal since it is integrated with TFS 2010. The webpart successfully deploys to the site and I am able to see it. Using the TfsConfigurationServer…
0
votes
1 answer

Setup TFS/Test Manager to send email on test failure

Is it possible to setup TFS/Test Manager so that it sends out an email after a test fails?
tunafish24
  • 2,288
  • 6
  • 28
  • 47
0
votes
2 answers

How to set a build on TFS and automatically upload project to server

Is there any possibility to set behavior on TFS that will build a project and automatically upload it to test server?
MaciejLisCK
  • 3,706
  • 5
  • 32
  • 39
0
votes
1 answer

how to link a workitem which is task/testcase to another workitem/task using TFS API and C#.Net code?

I could get a test case object using TFS API.Now i want to link a task id(e.g. 435567) to this Test Case object's "Affected By" link type. Any sample code available to do this ? I could see there is an add method for the testcase like below , but…
krrishna
  • 2,050
  • 4
  • 47
  • 101
0
votes
2 answers

Edit TFS work-item field when marked as read-only using TFS API

I am trying to update a field of a work-item using the managed TFS API. However, certain states mark the field as read-only (for example, the Done state) and at that point I'm not able to modify the field, even when using the TFS API. I noticed that…
Jensen
  • 3,498
  • 2
  • 26
  • 43
0
votes
1 answer

TFS 2010 Security

I know of a TFS 2010 server which i can connect to just by creating a TfsConfigurationServer, without setting any credentials. TfsConfigurationServer configurationServer = new TfsConfigurationServer(new Uri("address")) After connecting, I am able…
Sat
  • 161
  • 1
  • 2
  • 8
1 2 3
37
38