Questions tagged [tfs]
Team Foundation Server (TFS) is the on-premises version of Azure DevOps, providing Git and version control hosting, continuous integration, agile planning (issues, Kanban, Scrum, dashboards) and release management for continuous delivery to the cloud and on-premises.
21,662
questions
0
votes
0
answers
4
views
Problems with MS TFS 2018's Dashboards, Build Pipelines, and Icons
I am having some recent problems with TFS 2018 that have escaped my ability to troubleshoot. The application runs on a Hyper-V VM hosting Server 2019 and connects to a separate MS SQL 2016 database ...
-1
votes
0
answers
21
views
Is there any Azure devops API to fetch Git and TFVC repositories?
I have tried following API
https://docs.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-6.0
but it only returns Git repositories in the workspace. I am looking ...
0
votes
0
answers
12
views
how do list excluded files with team foundation server
I have a bunch of tools that use the TF command line, and particularly start with
tf status
however I need to exclude any changes that have been ... well... marked as excluded - but I can't find any ...
0
votes
1
answer
14
views
Repository Problem in Azure DevOps, error code TFS.WebAPI.Exception: TF401027
I'm running into an error code in the Pull request manager Hub in the Azure DevOps:
There was an error during the extension load: TFS.WebApi.Exception: TF401027: You need the Git 'GenericRead' ...
0
votes
0
answers
14
views
VS2019 "Team Project Settings" not showing
Installed VS2019 in Windows 10 workstation.
Connected to our TFS server.
The "Team" menu option appears in the VS menu, but under it, the "Team Project Settings" is not showing.
...
0
votes
1
answer
12
views
TFS 2018 Update List of Visual Studio versions on Visual Studio build action
Is there no way short of updating the TFS 2018 to the Azure devops 2021 version to get the visual studio build action to show versions of Visual Studio past 2017? We are moving from Visual Studio 2017 ...
-1
votes
0
answers
22
views
Is it possible to fetch the docker image or TAR file as a input from the user in Release pipeline in TFS
Is it possible to fetch the docker image or TAR file as a input from the user in Release pipeline in TFS and perform blackduck scan
I have placed the script to trigger blackduck scan in the server but ...
0
votes
0
answers
18
views
+200
Microsoft Team Foundation Version Control Windows Shell Extension for VS2019 azure devops server not working
This week our team upgraded from TFS to Devops Server.
I am unable to checkin files using the Microsoft Team Foundation Version Control Windows Shell Extension for VS2019.
Here's what I did.
I re-...
0
votes
0
answers
17
views
TFS Shell Extension error TF246017 The Team foundation server could not connect to database
Our team just switched from TFS on premise to Azure Devops. I use the TFS Shell Extension. I Visual Studio, I changed the connection to the new server. I has assumed that the TFS Shell Extension would ...
0
votes
0
answers
5
views
TFS Power Tools WIT WebLayout Preview and Validation Before Import
I am using the Visual Studio TFS 2017 Power Tools to apply some changes to a few of my organisation's TFS work item templates. As expected, the work item templates have two form layout elements - one ...
0
votes
1
answer
18
views
Any tool for check the result of migration from TFS 2015 to Azure DevOps to ensure that everything was successfully migrated?
We are planning to migrate over from TFS 2015 to Azure DevOps, and the task assigned to me is to find out the way to do a comparison after the migration between what we have on TFS and Azure to ensure ...
-1
votes
1
answer
27
views
Recover deleted build from azure devops
My build has got deleted from Azure devops as per retention policy. is there a possibility to recover the build.
-1
votes
0
answers
28
views
Migrate Work Items from all the projects of one TFS Collection to a single project in ADO Organization
Actually my need is to migrate all the work items from TFS to ADO in Collection level. For example: my collection contains around 50 team projects. If we are running the migration script for each ...
0
votes
1
answer
27
views
Migrating TFS 2015 repo historical file changesets to git repo [duplicate]
A code base was moved from TFS to Azure/Git though when I view file history in git the history starts at the date of migration.
Rather than logging into the TFS repo and staying online to view file ...
0
votes
0
answers
18
views
How to get work items based on condition without passing work items ids?
I need to get all the work items for a Project whose status is Active. But there is no way to get work items based on condition. There are two methods but both require work items ids GetWorkItemsAsync ...
0
votes
0
answers
14
views
TFS + Labels - do they increase db size?
We have a pretty decent sized TFS database - ~2-3TB - noticed today we have thousands of labels going back 10 years. Does anyone know if labels take up lots of space? Anybody know of any tools that ...
0
votes
2
answers
21
views
TFS 2018 Server Web Services keeps shutting down and restarting every minute or so with message "BinDirChangeOrDirectoryRename"
We have our TFS Server hosted on Windows Server 2012 R2 Standard. Recently our TFS web application started to slow down to the point that it is almost not usable. We did some digging on the server and ...
-3
votes
0
answers
41
views
Automate to run a script after a TFS checkin
Im using Visual Studio. After I check-in something in TFS, is there a way I can automatically run a script?
Edit: Using Visual Studio 2019, TFS 2017, Right now, I have a script which i run everytime ...
0
votes
0
answers
44
views
"The patch does not apply to Tfs version 14.102.25423.0" when trying to apply the patch 7 on TFS 2015 v4.2
I am trying to install the tfs2015.4.2patch7 on my server.
I found the .exe of the patch here.
When I execute it as administrator on the server, I get the following error message:
Logging to 'C:\...
0
votes
0
answers
15
views
TFS Form fields not working in Visual Studio 2019 but work on web
I will start by saying that I am not a developer, I use Visual Studio only for TFS as a means of contributing to Work Items in our project (I am a product owner).
On TFS web, there are some fields we ...
0
votes
1
answer
45
views
update/create TFS Server variable group using REST API with powershell gives object reference not set
Allright i have been fiddling with this for a few hours now and i can't seem to find any resources online or solve the issue.
Looking at the api documentation at https://docs.microsoft.com/en-us/rest/...
0
votes
0
answers
6
views
TFS: Why does it show my pending changes depending on what project I have open?
I'm working in a solution with multiple projects in it. If I make a change to a file in project Test1, unload that and then load project Test2, my edits that I made in Test1 disappear from my pending ...
0
votes
1
answer
36
views
Change Visual Studio 2022 Team Explorer default behavior
I used to modify a registry key to change the behavior of VS 2019 and older, so when I add a task to a Team Explorer Check-in (TFS) it automatically set the action to associate instead of resolve. But ...
0
votes
1
answer
35
views
API for merge and create branch in Azure Devops for TFVC
Warm greetings for the day. Hope you all are good.
We are looking for REST API's to do code merge, branch and check-in for TFVC in Azure Devops. Couldn't find, can anyone guide us?
We got REST API for ...
1
vote
1
answer
56
views
Team Foundation Server - Unauthorized intermittently
Recently I've had this error pop up intermittently when trying to do things in a project:
Checking In Changes
Making edits to a recently unchanged file (checking out a file I assume)
Opening Source ...
-1
votes
2
answers
78
views
Migrate Gitlab repo to TFS (Azure DevOps) include history and branches
I've been searching the entire day and haven't found any answer yet.
I found how to migrate from TFS to Gitlab.
I wonder if there is any easy way to do the opposite - I mean to mirror or clone a ...
0
votes
0
answers
18
views
When comparing files between 2 TFS changesets, can you jump to the live version of a file?
Comparing 2 versioned files sometimes helps you to identify changes that you want to make in the live code. It would be very helpful to be be able to jump to the live version of the same file so you ...
0
votes
1
answer
44
views
Azure DevOps Server 2020 - Publish Artifact ignoring File Copy Options
We have a build pipeline that's been working for a year or two. This builds and creates a few artifacts - ASP.Net web application, windows services, etc. The issue here is with the ASP.Net web ...
0
votes
0
answers
7
views
TFS Build Fails - Visual Studio Build works
I have the following:
public class AddressInfo
{
public AddressInfo();
public string State { get; set; }
public int? TimeZoneId { get; set; }
}
Here, Address is of type AddressInfo:
...
2
votes
0
answers
36
views
VB6.exe gets stuck when running in non-interactive mode via a TFS release pipeline
I have a Powershell script that is designed to compile VB6 projects on build servers. It calls VB6.exe with the correct arguments. When I run the PS script on the local machine, the script works ...
2
votes
1
answer
29
views
Change TFS service account password
We have a TFS administrator account that is used to run all of our TFS services and scheduled tasks. What would be the best way to go ahead and update this password? Is there any issue with ...
0
votes
0
answers
34
views
Get value of k8s service connection in Azure DevOps
We have many k8s service connections in our Azure DevOps that contains KubeConfig:
When I edit a connection I can't see the existing KubeConfig value.
Is there a way to find the existing value? (I ...
0
votes
0
answers
28
views
Cloning repository inside windows server within LAN
I would like to be able to clone a repository from within a remote server. developments needs to be done on the server itself (mandatory).
The remote server need to access a repository on a different ...
0
votes
0
answers
14
views
Error The underlying compression routine could not be loaded successfully
i install Azure DevOps Server Express on windows 10 machine
everthing works perfect but when i try to push to a local repo i get error from git
"C:\Program Files\Git\bin\git.exe" push --...
0
votes
1
answer
46
views
How to get folder microsoft shared\Team Foundation Server\14.0?
missing
C:\Program Files\Common Files\microsoft shared\Team Foundation Server\14.0\Microsoft.TeamFoundation.WorkItemTracking.Controls.dll
I am using VS2019 and trying to move and build an old VB.net ...
0
votes
1
answer
65
views
Run Rest API via PowerShell in order to get the current sprint
I am trying to run this script and store in variable and then do $y.value and I get all the sprints for this team.
(past,current,future). The goal is to get the current sprint number and store it
How ...
0
votes
1
answer
51
views
Is it possible to use git-tfs utility to migrate a TFVC repo local copy (residing on a disk) to git?
We have a TFS repo hosted on Azure devops services (dev.azure.com). We need to convert this to GIT format. We tried using git-tfs utility**(https://github.com/git-tfs/git-tfs)** to run against the ...
1
vote
0
answers
94
views
Using C# System.Diagnostics.Process to run git command line with basic authentication succeeds but returns error
I have a C# console app that fires git cli commands en masse. I use System.Diagnostics.Process and it returns an error even though the command succeeds. I would ignore this error except for git ...
0
votes
0
answers
30
views
Get build/release specific test results from Azure Devops in C#
I'm trying to write little WinForms application that will list names of all the automated unit-tests that have failed in our nightly runs, so we can then run another release using only those tests.
...
0
votes
0
answers
7
views
Workspace template does not get saved in team utilities area with Visual Studio 2015
Workspace template does not get saved in team utilities area with Visual Studio 2015. After restart VS 2015 it get disappeared and not sharing with the team.
Even manually editing of TeamProject....
0
votes
0
answers
40
views
How to resolve "Method 'Execute' ob object'_CommandBarButton' failed" Issue [TFS Excel Add-in RefreshButton] on first opening of a closed workbook
i would like to write a macro, which refreshes an Azure DevOps query. In my code, which is mostly online code (https://docs.microsoft.com/de-de/archive/blogs/team_foundation/programming-for-the-tfs-...
0
votes
1
answer
77
views
how to migrate Git Project from TFS to GitHub
I have my TFS server which have some Git Project now I want to move it to Github. Please suggest me the steps to do this.
0
votes
0
answers
53
views
IIS - Application pool stopped when try to open the application in browser
I have deployed the application in IIS server. code pusged to the directory and IIS server configuration are done using pipelines.
But when i try to run the application in browser, it makes the ...
0
votes
1
answer
63
views
Find the first TFS changeset where a class appeared
At work I loaded a project that was unloaded in the solution (only C# code) we work with, and that a colleague (who left since a year) was maintaining. The project is not building now because a class ...
0
votes
1
answer
28
views
Visual Studio erroneously including files from an external project in team explorer pending changes
Ok... so I cannot find an answer to this anywhere, but I can't possibly be the first one to be experiencing this. So I created a new solution with a new project (C# MVC) and when I added source ...
0
votes
1
answer
47
views
Azure Dev Ops add field Remaining work in backlog
is there a possibility to add the field "Microsoft.VSTS.Scheduling.RemainingWork" on backlog level? I would like to have a field with remaining work in the backlog, so that the work can be ...
0
votes
1
answer
259
views
How to pass secret variable from one stage to another AzureDevOps pipeline? [duplicate]
I am using classic Azure DevOps release pipeline and there are 3 different stages.
In first stage I am running a PowerShell script and that sets up a dynamic variable as Write-Host "##vso[task....
1
vote
0
answers
65
views
TFS 2018: The field 'Assigned To' contains the value '<username>' that is not in the list of supported values
I have a weird situation where we have some users that we cannot assign as the owner of a task in TFS 2018. When you try to assign the user to the task, it says:
The field 'Assigned To' contains the ...
0
votes
1
answer
26
views
Arguments for TFS Visual studio merge too
I was using WinMerge as my merge tool in Visual Studio 2019 Enterprise. I'm trying to switch back to the default Team Foundation Server merge tool. I went to Tools -> Options -> Source Control ...
0
votes
0
answers
20
views
How to get LOC metric for specific user in Visual Studio 2019?
In a project I am asked for providing LOC for my work for the past 3 months. I have never done anything as such and couldn't find on web for something as such. Is there a way to do so ? Code metric ...