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.

tfs
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Azure DevOps Server witadmin error 500 when downloading/uploading workitem XML

We use On-premises XML process model (not inherited) on Azure DevOps Server 2020 Update 1.2. Recently, on one of our collections, we cannot upload the xml description via witadmin. The exportwitd, ...
Xel's user avatar
  • 9
0 votes
0 answers
14 views

How to fix a CS0281 error on build server

First off everything builds fine locally. However when running a build on check-in the pipeline throws this error. ##[error]ABC\ABC.Test\BAL\DataModels\DataModelSupport.cs(200,25): Error CS0281: ...
rb29's user avatar
  • 1
0 votes
1 answer
25 views

Integrate Deployment status to Work Items in TFS

I am new to Azure DevOps and I am trying to link the deployment status of my releases to the work items. I have tried going to classic release pipelines -> options -> integrations -> Report ...
Ramu's user avatar
  • 147
0 votes
1 answer
38 views

How to customize data sources in the dropdown box of TFS work item templates

How to customize data sources in the dropdown box of TFS work item templates? The current situation is as follows: The options in this dropdown box are fixed. How can I customize this data source, ...
豪杰邱's user avatar
0 votes
2 answers
44 views

How to add nuget package for offline tfs build task

I have an TFS build server without internet access. There is a build definition with Nuget Restore step. It's configured as I understand to take package from Destination directory folder: At least ...
Daugawpils's user avatar
0 votes
0 answers
72 views

Using Azure DevOps Server 2022 (On-Premise) with Visual Studio Code for Java Project

We are using Azure DevOps Server 2022 (On-Premise) for Source Control, integrated with Visual Studio 2022 for all .NET Projects. We have recently inherited a Java project, and have decided to use ...
CIO's user avatar
  • 3
0 votes
1 answer
33 views

Ticketstatus on DynamicsCRM updates on TFS Ticketstatus change

I have a question about implementation of TeamFoundationServer in DynamicsCRM. Our Company uses TFS as a Tool for TicketsManagment. Tickets on TFS can be created from our OnPremise Microsoft ...
fel_ope's user avatar
  • 35
-2 votes
2 answers
54 views

Limiting access to files in Github while being edited by other collaborator [closed]

I am managing a Github repository where I have around 20 developers working, pulling/pushing changes, modifying classes and files, etc. he developers in the project are using two IDEs: IntelliJ IDEA ...
daniel lozano's user avatar
0 votes
1 answer
57 views

Trying to read commits from azure devops rest api results in redirects

I am trying to get a list of commits. The execution waits forever on getting repoResponse. Why? When I paste the url (getting it from hovering repoUri in visual studio), I am never prompted for a ...
Anders Lindén's user avatar
0 votes
0 answers
47 views

ADOS .NET: Exchange SOAP Methode to REST equivalent

I'm currently exchanging SOAP Code to REST (6.0) Code of an ADOS OnPremise Application. private void SetIntegratedStatusForBranch(ChangesetModel changeset, Branch changesetBranch, List<Branch> ...
Hoehlenhund's user avatar
0 votes
1 answer
42 views

DevOps 2022 Server not connecting on VS 2012 and VS 2010

We are migrating our TFS server 2017 to DevOps Server 2022 but when we migrate our databases to the devops server our connection from visual studio 2012 and 2010 is not working while on Visual studio ...
muhammad tahir's user avatar
0 votes
1 answer
36 views

TFS integration with Jenkins

I am new and have little experience with Jenkins and TFS. I was tasked to integrate TFS to Jenkins so we can automate our deployments. But… Jenkins does not have a TFS plug in, is there any workaround ...
Jeangonz's user avatar
0 votes
0 answers
24 views

Preventing Merge and Branch your own code on TFS

I am working on TFS (v 16...) to prevent a collection with Test and Main branches from doing merge or branch operations on its own.I am currently trying to do this on the server side using ISubscriber(...
FthErdgn's user avatar
0 votes
1 answer
81 views

Get all users of an Ado or TFS project

I am unable to find any ADO .net client libraries/rest apis to find all the users related to a particular project, project can be belong to ADO server or TFS (>2013) and ADO service. I used ...
Aman Varshney's user avatar
1 vote
1 answer
76 views

Reduce AzureDevOps aka. TFS Database size

We've been using TFS since 2010, regularly upgrading it each year. To manage its data size, we implemented Azure DevOps' retention policies and used API call to remove all leases for all builds and ...
sarvin's user avatar
  • 11
-1 votes
1 answer
82 views

Integrate Visual Studio Code with Microsoft Visual Studio Team Foundation Server

We are trying to integrate Visual Studio Code with Microsoft Visual Studio Team Foundation Server. Our Visual Studio Code version is 1.87.0 We installed TFS extension as suggested here Then we setup ...
PHP Team's user avatar
0 votes
1 answer
67 views

How to hide the history tab of the work item window in TFS2018?

How to hide the history tab of the work item window in TFS2018?what should i do? I have tried to configure the work item template through XML, but it cannot take effect. For some reason, I don't want ...
豪杰邱's user avatar
0 votes
1 answer
85 views

Pass parameter from azure devops pipeline yaml to cloudformation yaml

I do not manage to pass parameter from my azure yaml to my cloudformation yaml. I got the following error: ##[error]ValidationError: Parameters: [EnvironmentType] must have values Nothing called &...
Mapotofu's user avatar
  • 300
0 votes
0 answers
54 views

How to use TfvcHttpClient to find all checked out files (i.e. items with pending changes)?

Consider the following code, which uses the Microsoft.TeamFoundationServer.Client NuGet package: var tfsServerUri = new Uri("<REDACTED SERVER URL>"); var credentials = new ...
Matthew Watson's user avatar
-1 votes
0 answers
77 views

TFS Error TF400017: The workspace properties table for the local workspace

I have an Error in TFS and I can't do check-in or get latest TF400017: The workspace properties table for the local workspace MOHAMED-AMER;Mohamed Amer could not be opened. Exception of type '...
Mohamed Beshri Amer's user avatar
0 votes
1 answer
64 views

Finding TFS version from TFS collection Uri

I have TFS collection URI (like ip:port), Is there any programming way to find TFS semantic version number from TFS collection URI e.g. any method or property in ADO rest client libraries (https://...
Aman Varshney's user avatar
0 votes
1 answer
91 views

Catch cancellation request from a custom AzureDevOps task

Azure DevOps pipelines. Can a custom task somehow detect that the user has cancelled the build/release job mid-execution and quit gracefully? I'm wondering about both the Node API and the Powershell ...
Seva Alekseyev's user avatar
0 votes
0 answers
33 views

TFVC C# API refusing to download large (7GB+) files

I'm using C# TFS API to pull changes into my workspace using a script. To be more precise, I'm using Microsoft.TeamFoundation.VersionControl.Client.Workspace, calling Get(new ChangesetVersionSpec(<...
Karlovsky120's user avatar
  • 6,264
0 votes
0 answers
32 views

How can we restore code merging by changeset?

We're working on merging code between branches on a web app solution using Visual Studio 2022 connected to a TFS 2018 server. We have three branches in TFS: program_main, program_dev, and ...
Stephen Falken's user avatar
-1 votes
1 answer
56 views

To maintain version control for MySQL in TFS Source Control

Our requirement is we need to maintain the changes that do in MySQL database in version control. We checked this link. We understand that we need to install Visual Studio and mysql .net connector and ...
PHP Team's user avatar
0 votes
1 answer
85 views

Unable to link changeset to an existing work item with TFS API

I am trying to link a changeset to an existing TFS workitem in C# with .NET client libraries for Azure DevOps Services (and TFS) This is the code that I am using - public void ...
Tom Wigley's user avatar
0 votes
2 answers
85 views

TFS is not accessible from Visual Studio from cross domain

Team Foundation Server (TFS) accessible via the web but not through Visual Studio, from Cross Domain. Getting attached Error when trying from Visual Studio. I check the port 443 via telnet the ...
muhammad tahir's user avatar
-1 votes
1 answer
104 views

How to use InvokeRESTAPI@1 Azure DevOps Task, with waitForCompletion set to true?

I came across this Azure DevOps Task: InvokeRESTAPI@1 There is a property named 'waitForCompletion' which is designed to make an agentless job wait until it receives a callback from an external ...
osim_ans's user avatar
  • 190
-1 votes
1 answer
79 views

Update Azure Pipeline Task Completion Status via REST API

Below is my YAML release pipeline code: - stage: Stage1 jobs: - job: Job1 displayName: Test pool: server steps: - task: Delay@1 displayName: I am waiting for you.. ...
osim_ans's user avatar
  • 190
0 votes
2 answers
53 views

TFS Nuget Publisher task fails with 401 No credentials are available in the security package

I have a Build pipeilne with following tasks: Task Parameters 'Build and Package' - .NET Core Command: pack Project(s): src/Camelot.Domain.csproj Arguments: --configuration Release --output $(build....
Terry's user avatar
  • 2,248
0 votes
1 answer
36 views

How to handle the relationships between work items and vstfs changesets

I have two database tables loading that contain the changesets from VersionControl and the work items from DevOps. When I load the changesets I can also see the related work items. When I load work ...
Luke Brummett's user avatar
0 votes
1 answer
98 views

In Azure DevOps Server 2022 my build pipeline is creating DLLs with a timestamp different from UTC or local time

I've just started with Pipelines and have Build and Release working for a simple .NET Core web app. The Azure DevOps Server host is Windows Server 2019 and Time Zone is set to Eastern Standard Time. ...
Richard Wells's user avatar
-1 votes
1 answer
41 views

Unable to restore nuget packages in TFS pipeline

Unable to restore nuget packages (can't be found) in TFS pipeline even though the packages are showing up in nuget package manager for solution. Expecting the nuget packages to be restored in the ...
Glen Chia's user avatar
0 votes
2 answers
95 views

Azure DevOps Server 2022 REST APIs Broken for Environments Approvals

I am trying to call the below REST API to list the approvals (using postman), but I am not receiving any response. GET https://{instance}/{collection}/{project}/_apis/pipelines/approvals?api-version=7....
osim_ans's user avatar
  • 190
0 votes
1 answer
99 views

GitHttpClient.GetCommitDiffsAsync gives me latest file content regardless of which commit ID I try with

I have a connection to Azure Devops API var conn = new VssConnection(new Uri(uri), new VssBasicCredential("", pat)) and create a git client with var gitClient = conn.GetClient<...
Anders Lindén's user avatar
1 vote
1 answer
102 views

Not showing delete function on ADO user story

This delete function is not showing to a user. I have granted Project Administrator privilege. But still doesn't show that Delete button hence he cannot delete any user stories. This is all across ADO ...
Kalana D's user avatar
1 vote
0 answers
53 views

Get actual contents of Git commits (diffs) using Azure Devops API

I am listing git commits in an azure devops git repository to check if any commits breaks some simple principles. However, it seems like GitItem.Content and GitChange.NewContent both are null. They ...
Anders Lindén's user avatar
0 votes
1 answer
106 views

How to get count of agents used in the YAML azure pipeline

Below is my YAML code, and I have a variable named $(count) in my main YAML file. I want to determine the number of agents required by my pipeline. Our pipelines only contain agent-based jobs (with ...
osim_ans's user avatar
  • 190
0 votes
1 answer
108 views

Hello, I am having issues changing the order of an user story in ADO backlog

I am having issues changing the order of an user story in ADO backlog. These stories are not in a sprint and does have Parent (Epic & feature )& child (Task, bugs, test case) links attached to ...
user23260766's user avatar
0 votes
2 answers
112 views

Migration from TFS 2010 to ADO Server 2022

The company where I work has decided to take a big step and upgrade the internal versioning system, and I am partly responsible for it. Currently we have an old server that will be replaced soon that ...
Edoardo Camara's user avatar
0 votes
0 answers
37 views

cannot convert from ‘string’ to ‘Microsoft.TeamFoundation.Client.TfsTeamProjectCollection [duplicate]

I am using the below code, WorkspaceInfo workspaceInfo = Workstation.Current.GetLocalWorkspaceInfo("$/UKNML1234_1"); Uri serverUri = workspaceInfo.ServerUri; TfsTeamProjectCollection server =...
ProgramMasher's user avatar
0 votes
0 answers
162 views

Unshelve a shelveset from one branch to another in Visual Studio 2022 using TFS

I have created a shelve set working on a wrong branch. There are quite some changes and now i wanted to see if I can somehow migrate that change to the target branch. The source and target branch are ...
Baiju Chandran's user avatar
0 votes
0 answers
40 views

azure devops server workspace set up

I am currently working on a project with another person and trying to setup Azure devops to make it easier for us to keep track of the application. So far what we would like to do is set it up so we ...
j--li's user avatar
  • 1
0 votes
0 answers
33 views

get all build from a label to next available label for a branch

do we have any rest api that can have takes labels as an argument and return all the builds for check in between tow labels the TFS version I am using is Team foundation server 2015 I have no clue how ...
Rahul Meena's user avatar
0 votes
1 answer
76 views

First Batched CI Pipeline not being Triggered Automatically in Azure

I have a repository in Azure on-prem (TFS) where all branches should trigger a pipeline when commits are made. The azure_pipelines.yaml file is included in each branch and I am able to automatically ...
user2374087's user avatar
0 votes
1 answer
50 views

How do get specific version from a different branch to my branch on TFS?

I created a branch from the main branch for example branch A. Now is there a way to get specific version of the main branch in branch A? I know that i can create branch from specific version of the ...
Mahsa stz's user avatar
1 vote
1 answer
63 views

Create a branch from a specific version (from the previous changesets) on TFS

How I can create a new branch but from a previous changesets in TFS.
Mahsa stz's user avatar
0 votes
1 answer
174 views

MS Azure DevOps Server: No Agent Pool details visible when clicking on the Agent Pool

Environment: Azure DevOps Server 2022 19.225.34309.2 (AzureDevOps2022.1) I am prototyping an MS Azure DevOps Server on-premises setup. No issues installing the product until it came to the creation of ...
CrazyMike2023's user avatar
0 votes
0 answers
118 views

fatal: could not read password for 'https://[PAT]@tfs.**.com' no such device or address

I'm building a Tekton task on Openshift pipelines and trying to clone the source code from my GIT repository. I'm cloning the repo in my script using the below git clone 'https://[PAT]@tfs.**.com/[org]...
Fawzinov's user avatar
  • 577
0 votes
0 answers
41 views

Error TFS203082 The checksum value of the file that you uploaded does not match the provided value

I used to work on computer 1, VS2017 and TFS. I had to migrate to computer 2. I got the source code on this computer #2, made one change and tried to commit. I get the error mentioned in the title of ...
Greg's user avatar
  • 640

1
2 3 4 5
437