Questions tagged [tfs]

0

votes
1

answer
12

Views

TFS 2015 Can not Complete Pull Request

I am setting up Pull Request in TFS 2015 GIT Repo. My Users are able to Create Pull Request however I am the only one that is able to Complete a pull request. I have confirmed that all the Users have Contribute to the entire repo. I am at a loss as to what is going on. Once the User Approves the PR...
user2157461
1

votes
1

answer
14

Views

Find TFS Build Request by ID

In TFS every requested build has a Request ID, for example: Is it possible in Visual Studio 2015 (or in TFS Web Browser) to query build requests by ID?
1

votes
2

answer
790

Views

Microsoft TFS ssh cloning fails

I am trying to clone a repo from a project on my Team Foundation Server domain. I have created an SSH key under my profile security. However after accepting the repo's key I am still requested to sign in with a password and the authentication fails: git clone ssh://[email protected]
HGB
1

votes
1

answer
306

Views

Team Foundation Server - set default repository for team

In TFS 2017, we have a big project with multiple teams and areas within it, as suggested in this blog post. I couldn't find out how to set a default Git repository for each of these teams, so the 'Code' menu item at the top would point to a specific repository for each team.
vmassuchetto
0

votes
0

answer
5

Views

Building a solution containing .net standard 2.0 project in team foundation server 2012 server

I have a solution in visual studio 2017. This solution contains a project in .Net Standard 2.0. I have team foundation server 2012. I have configured a build controller and build agent on the team foundation server. I have configured a build for continuous integration. The build definition used to w...
devanalyst
0

votes
0

answer
2

Views

TFS backup job hangs - how do i find the problem?

I have TFS backup job hangs for several hours without any errors. I have tried Restart of SQL server. On the monitoring page of TFS it looks ok without any errors. TFS 2018.1 SQL SERVER 2016 STD Windows Server 2012 R2 Backup was working good as scheduled for almost 1 year . Please Advise
galsi
0

votes
1

answer
4

Views

TFS, deleting/undoing/check in blocked file

We have created project with 3 ppl, but one of us had to leave company and left checked out file which is blocked. We cannot do anything with that so we decided to create new file with same funcionality. But how can we delete file he have blocked in TFS website. I would like to delete that file in W...
d3nver
1

votes
2

answer
326

Views

No longer able to aggregate by “Sum” for Dashboard / using “Chart for Work Items”

Working on updating the Dashboard in TFS for a new sprint. I have a chart which shows a 'Chart for Work Items' widget with a 'Stacked area' chart of all the stories which is stacked by 'state'. Then, I have the stories plotted using 'Aggregation' and 'sum' along with 'Effort'. This worked in the pre...
kashiraja
1

votes
1

answer
229

Views

TFS Erro when try update workitem- You must pass a valid patch document in the body of the request

I got that erro - You must pass a valid patch document in the body of the request. public class TFSClient { public WorkItemTrackingHttpClient WorkItem { get; set; } public TFSClient() { VssCredentials vssCred = new VssCredentials(new WindowsCredential(true)); WorkItem = new WorkItemTrack...
Henrique Lemos
1

votes
2

answer
1.3k

Views

OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Community / TFS

I can't sync my local git with visual studio online. This is the error I get Git failed with a fatal error. unable to access 'https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mysite.visualstudio.com:443 Update:...
Lee
1

votes
2

answer
142

Views

TFS workspace error

When I try to do a local mapping from TFS, I get the following error, The working folder --- is already in use by the workspace ---;User on computer --- Any ideas on how to solve this?
Mkram
1

votes
2

answer
738

Views

TFS Build Agent (vNext), Get TF246017 (could not connect to database)

i try to set up a new TFS Build agent (TFS 2015, Build 'vNext'). I get a strange error when a build is triggered. Following setup: TFS 2015 Server hosted on a machine in the intenet TFS 2015 Build Agent on a machine in our company network behind a VPN set up Build Agent and registered on TFS Server...
Daniel Klein
1

votes
2

answer
378

Views

How to connect AX 2009 with Visual Studio Online (Visual Studio Team Services)

I'm trying to connect my AX 2009 installation to VSO (recently renamed to VSTS). After browsing some forum entries I know that I have to install the following: Install Visual Studio 2008 (not the Express Edition) Install Team Explorer 2008 Install Visual Studio 2008 SP1 (This will upgrade both VS200...
elToro
1

votes
1

answer
1.6k

Views

Enabling TFS documents feature using Visual Studio Team Services

Is there a way to use TFS Documents feature in VSTS (Visual Studio Team Services previously known as Visual Studio Online or Team Foundation Service) If so, how?
Omri Btian
1

votes
1

answer
30

Views

Can i exclude certain fields from being documented in history of TFS workitems?

I wrote a plugin that saves and updates a certain numeric field which is part of the layout of a workitem in the TFS. The problem is, a lot of updates \ changes are done in the backend on this field, and when someone reviews the history tab of the workitem, they can see a lot of these changes docume...
SwiftHands
1

votes
1

answer
1.5k

Views

Download entire folder from Version Control via TFS 2015 RestFul Apis

Is there a way to get the download url for an entire folder from TFS 2015 Version Control using the RestFul apis? I can get metadata about items via the /_apis//tfvc/items/ api, but no downloadUrl property is available. I can see the downloadUrl property for build artifacts via the /_apis//build/bui...
Andy McCluggage
1

votes
1

answer
332

Views

Why can't I can use anymore the Test Automation feature with VSO

So basically, I'm using Visual Studio Online for some months, and I've a lot of existing test cases, each being associated with a unit test thanks to the Test Automation feature. Since a few days, I cannot anymore associate test automation to my test cases. Might be related to the changes that have...
ken2k
1

votes
2

answer
1.2k

Views

MSBuild - Circular dependency in the target dependency graph

I am getting the following error in my build Error MSB4006: There is a circular dependency in the target dependency graph involving target 'DoPublish'. The DoPublish is triggering Publish and I assume the Build. How can I avoid this. I am using the Visual Studio build. I was using the MSBUILD with...
H20rider
1

votes
1

answer
139

Views

Visual Studio 2013 Team Explorer : Submit changes to an open Code Review

I submitted some code for review. I got feedback from the reviewer. I made the changes to the code. How can I submit the new changes back to the existing review for reappraisal. I do not see a button anywhere. All I can do is Complete or abandon. Do I have to setup a new Code Review?
matthewbaskey
1

votes
1

answer
419

Views

VS2013 TFS Workspace Cannot Remap local folder

Had a TFS folder hive mapped to 'C:\Projects (TFS online)\ProjNameHere' and discovered problems with Xamarin due to the space in the name. So, I deleted my old (obsolete) 'C:\Projects' folder, renamed 'C:\Projects (TFS online)' to 'C:\Projects' and went into VS Source Control explorer to modify the...
jrichview
1

votes
3

answer
1.2k

Views

Remove pending changes but DON"T 'UNDO' my changes from TFS

I edit about 50 files in 20 different folders. When I check out for edit, I mistakenly used 'ctrl+a' and selected all folders along with all files in it. That's about 1000 files that I didn't touch at all being included in Pending Changes. How do I remove them from pending changes without 'UNDO' my...
user2734550
1

votes
1

answer
281

Views

VS 2015: How to “remember” TFS path?

In VS 2010 the Source Control Explorer would simply remember your last TFS tree selection and jump the very same branch and sub-folder again. VS 2015 always starts at the very root node and you have to annoyingly navigate to your work branch every time. Is there a way to make it remember the path li...
Dee J. Doena
1

votes
1

answer
422

Views

Run test with only one data row, mstest

Good day. I have c#, mstest and data for tests in TFS. Some of tests contain parameters. How should I update my code to run test only with one data row? [TestMethod, Priority(1), TestCategory('SomeCategory')] [DataSource(DATA_SOURCE, TFS_URL, 'TestCaseNumber', DataAccessMethod.Sequential)] public vo...
1

votes
1

answer
213

Views

Limitations of using SQL Server Express with TFS 2015 RTM [closed]

Have anyone installed TFS 2015 RTM with SQL Server Express instead of SQL Server 2012? What are limitations and drawbacks?
Viji
1

votes
2

answer
835

Views

TFS integration in SSIS

I have few SSIS packages which is developed using VS2013 (.NET 4.5 Framework) in one solution. And few packages which are developed using VS2012 (.NET 4.0 Framework) in another solution. I want to integrate both solutions with TFS. Currently, I have integrated VS2013 with TFS and its works fine. B...
SmartestVEGA
1

votes
1

answer
1.4k

Views

How to change a tfs build variable in script

I'm using TFS2015 update 1. I want to pass information from one build step to the next, how is this possible? That seems like a very simple task, but I can't figure out how that's suppose to work. Passing a variable to a build step is easy, but passing information from one step to the next seems to...
Tom Kuijsten
1

votes
2

answer
249

Views

Sudden PostSharp compilation error on hosted build controller

As of yesterday, I suddenly get the following error on the hosted build controller: unknown: error: Unhandled exception (4.1.10.0, postsharp.4.0-x86.exe, CLR 4.0.30319.394271, Release): Value cannot be null. unknown: at PostSharp.Sdk.Extensibility.Project.CreateInstance(Domain domain, ProjectInvoca...
ldx
1

votes
1

answer
689

Views

TFS - How can I retain folder level history when I Branch/Move sources?

We are restructuring our sources in TFS. I would like to move the sources to a different folder in the same TFS. While I move the sources, I would like to retain the history at a folder level (default is file level) I found two options, both of them retain history at a file level but NOT folder leve...
sai
1

votes
1

answer
140

Views

How do you package TFS in your build with Object Model?

I wrote software that connects to TFS via Microsoft libraries (Microsoft.TeamFoundation.x). The program runs great on my dev machine, but when I run the build on other machines, I get an error 'Could not load file or assembly 'Microsoft.TeamFoundation.Client'' After research, I found there is a TFS...
whoknows
1

votes
3

answer
272

Views

How to get current changesetid on tfs build server?

I'm need to include changesetid in assemblyversions on TFS build server. I have created powershell script that updates [AssembliVersion] attributes is all assemblyinfo.cs. How can I get current changeset for a folder in tfs? currently I have something like this: function GetLatestChangeset{ Param([s...
Liero
1

votes
1

answer
862

Views

Pass a custom ms build property in tfs 2015 web build definition

I have an automated build set up in tfs2015 using a web build definition (i.e. not a xaml build definition) and I am looking to pass a custom property to the msbuild command. I have tried setting a variable in the definition but this is not used in the build process. the msbuild command argument tha...
MikeW
1

votes
1

answer
429

Views

Convert TFS field type from string to plain text

i have a TFS field that was defined as string. I realized that the field may have more than 255 characters and hence would like to change it to plain text. When I tried doing so with witcommands, it gave an error saying that the field is not supported. Is there a way this can be done? I cannot delet...
perplexedDev
1

votes
1

answer
533

Views

return Get-TfsItemHistory specific value

I am using powershell to try to make a email script that will send out a list of changesets and affected work items for the latest build I am doing this with Get-TfsItemHistory WorkspacePath -Version 'LBuild 9.1.71.1~LBuild 9.1.72.1' -Recurse | Select * -exp WorkItems | Format-Table Committer,Chang...
Nick
1

votes
1

answer
182

Views

Filter TFS Pending Changes by Shelveset/Workspace Diff

While working in two workspaces, I have one workspace which builds on the content of another workspace. One workspace has been reviewed and is complete, but I have to wait to check it in until some others check in their changes. While waiting for this, I finished the work in my dependent workspace a...
Nate Diamond
1

votes
1

answer
484

Views

What is the meaning of this TFS Icon?

I have been looking all over and cannot figure out what this icon represents. I have gone through numerous questions on SO and on Microsoft's website. https://msdn.microsoft.com/en-us/library/ms245455.aspx - No information on this icon I am on TFS 2015 and Visual Studio 2015. The icon in question is...
Matt Rowland
1

votes
2

answer
291

Views

How to include Web.config in the TFS 2015 Contents section

I am trying to produce artifacts with TFS 2015. Everything works fine except it does not include my Web.config file, which is vital to our application. How can I get TFS to include my Web.config file in the 'contents' area of the 'Publish Build Artifacts' step of our build? I have tried: Web.config...
AussieJoe
1

votes
1

answer
67

Views

TFS: locked files are still read only for external editors

We use TFS in server workspace mode. I locked some directory and files inside are editable for me in Visual Studio but still in read only mode in my external editors (notepad, pspad, ...). How can i lock the directory to have all files writable 'outside' the Visual Studio? I found out that one optio...
Milan Hricko
1

votes
1

answer
119

Views

Change folder name in TFS project without mapping

It is possible to change folder name in TFS project on the server without getting the file locally? I am trying to do that with the API without results, all the ways that i found over the internet include get workspace and checkout of the file but its not good for me.
user1940350
1

votes
1

answer
489

Views

Running T4 templates under source control (TFS)

Background I frequently have to adapt a .tt file (T4 templates) that generates an .xsd file. That's done by changing a .txt source file and starting 'Run Custom Tool'. The issue When I do a change, I will do an automatic check out of my .txt that is used as base file. The .xsd however, is not checke...
Spikee
1

votes
2

answer
688

Views

TFS Integration Build Powershell With Elevated Privileges

I am setting up an integration tests build where I am just trying to start up a windows service. I have used the InvokeProcess command to run the powershell scripts which just does the following Start-Service ServiceName The script fails when I run the build process but when I executed the same sc...
tangokhi

View additional questions