tfs-sdk Questions
5
I am trying to connect Azure DevOps using below code in asp.net core(2.1) mvc app
Uri orgUrl = new Uri("https://dev.azure.com/xxxxx/");
String personalAccessToken = "xxxxx";
VssConnection connec...
Tafilelt asked 3/9, 2019 at 7:25
2
Solved
I'm using the TFS Client API to try and query a TFS 2010 instance.
I need to be able to do the following
For a specified team project, say 'Project A'
Get a list of the history of recent check-in...
2
Solved
We use company Team Foundation Server 2013 for source code and task management. Is there a way how can I manipulate work items within backlog over REST API?
Our project is accessible via web url: ...
Anthologize asked 4/12, 2014 at 17:16
4
I am attempting to switch to the TFS 2015 SDK dlls (Version 14) for a few reasons. First, they are in nuget and second, the 2013 SDK dlls (Version 12) require the 32-bit flag flipped in IIS.
I pul...
2
I have been trying to figure out method of fetching permissions on a particular Git Repository programmatically.
The TFS API reference given online doesn't detail any of the security API's. Howeve...
Monty asked 30/1, 2015 at 18:35
2
Solved
I followed instructions in article about supporting multiple versions of Visual Studio in developing checkin policies. Now, where can I find :
Microsoft.TeamFoundation.VersionControl.Client.dll
...
Hultin asked 22/9, 2015 at 8:35
8
Solved
On one of my machines, I get a return value of null from any GetLocalWorkspaceInfo call. I have isolated to problem to where it even fails for this simple program:
namespace WorkstationTest
{
usi...
3
All,
I am trying to get the list of all the files that are in a particular repo in TFS GIT using REST API.
I found the below one but it only display the contents of the specific file name mentioned...
Cotenant asked 11/6, 2018 at 19:18
1
Solved
If I have the name and the owner of the Shelveset, I can find it successfully using the following code:
foreach (Shelveset shelveset in
versionControlServer.QueryShelvesets(workItem.
Fields["As...
Centavo asked 29/3, 2017 at 2:51
0
I am new to C# (coming from Java) and am trying to write a report that counts the number of code reviews done.
I have no trouble iterating through the code review requests. When a code review is a...
Boon asked 28/3, 2017 at 2:11
3
Solved
I am attempting to write a c# application that connects to TFS and retrieves work item information. Unfortunately, it seems like all examples of using the TFS SDK are using the default credentials ...
Vesuvius asked 30/6, 2010 at 14:33
5
I'm attempting to pull the latest version of source code out of TFS programmatically using the SDK, and what I've done somehow does not work:
string workspaceName = "MyWorkspace";
string projectPa...
1
Solved
I am trying to execute a WIQL query on TFS server (following this example) and get work items with the tittle and other fields. Even though I define the columns I want on the output, the json retur...
3
Solved
I have forked a project with the code below:
var pc = ParentSection.GetService<IPendingChangesExt>();
var model = pc.GetType().GetField("m_workItemsSection", BindingFlags.NonPublic | Bindi...
Doorn asked 8/3, 2016 at 17:58
2
Solved
I'm trying to write a code which, given a path to an item in the TFS repository and two revisions, would compute a difference between the contents file had at these two moments. For now the code mi...
4
Solved
I would like to get the source code of a project at specific time (changeset). So I need do download whole folder. I would like to do it for different times and handling a different workspace is no...
Lumpkin asked 3/5, 2012 at 13:41
1
Solved
I have a small chunk of code that constantly fails when I try to get the workspace.
var tfs = new TfsTeamProjectCollection(new Uri("https://mytfs.com/projects"));
var versionControlServer = tfs....
Devaluation asked 30/4, 2015 at 20:12
4
I have a program that reads the lastest build and gets all the changesets from it. It is then possible to determine if the changset that I have it actually a merge, and where it was from.
Here's ...
2
Solved
Given a changeset c and given that c contains merge operations, I would like to get a list of all changesets that have been merged and resulted in c.
For example:
Changeset 1 contains some edits...
Celik asked 1/3, 2012 at 10:6
2
Solved
We have a custom build process (not using MS Build) and during that process I am adding a "fake" build to the global builds list. The reason I am doing that is so that you can select the build for ...
1
Solved
i m stuck on simple problem with TFS API, when im getting work item, i cant get workitem Effort data, the idea is to get work item form the TFS by specific criteria, and then change Effort data and...
2
Solved
I am currently working on a VS extension / add-in and I need to associate work items with the pending changes (without triggering a check-in).
After searching for some hours I couldn't find a way ...
4
Solved
I'm completely stumped by this and endless google/stackoverflow searches haven't helped. I'm using the 2012 Visual Studio SDK to connect to TFS 2012 and query the work item store. The code below wo...
Uprear asked 19/11, 2013 at 23:47
3
Solved
Is there a way to get programmatically latest changeset version in general.
It's fairly easy to get changeset id for certain file :
var tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollect...
2
Say I make a work item in TFS. Then I make a change and update the text in the History tab (then save).
Using the TFS API, how can I get that text?
I would have thought it would have been in the ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.