22,009 questions
1
vote
1
answer
180
views
VS2026 legacy solution error - "This version of Visual Studio .NET does not support source controlled projects"
I have a software solution that I was editing in VS 2017 and moved to a PC with VS 2026. Upon attempting to open the solution, however, I get the below error message regarding (only) one of the ...
Tooling
0
votes
0
replies
29
views
Azure DevOps Extension – Prevent recursive onFieldChanged event when updating fields programmatically
I'm developing an Azure DevOps Form Control extension that updates work item fields based on certain configuration rules.
For example, I have two fields:
Field A
Field B
The logic is:
When A ...
1
vote
0
answers
38
views
Downloading all the folders from TFS
I have an old Azure Devops (on-premise) with several collections, and each collection has several projects where the Version Control is TFS/TFVC. It appears to be a folder with many different ...
0
votes
1
answer
70
views
Using TFS DevOps Pipelines, how to lock a resource for build agents so it is not used by more than one pipeline at any given time
We frequently get build failures because multiple build agents are using the same resource at the same time (in our case it's a specific database tool, but it could be anything really).
TeamCity has a ...
0
votes
0
answers
43
views
azure devops manual intervention
my current azure dvops setup running Version Azure DevOps Server 2020 Update 1.2 we depend on manual approval in most of pipeline like the below task, below is the yaml we currently use
task: ...
0
votes
0
answers
37
views
TFS rebind deleted solution
I got a new copy of a solution that is different than the one I have in TFS. This new copy was never under TFS. I need to replce the solution under the exact same folder. In order to check-in the ...
0
votes
0
answers
58
views
Issues with Azure DevOps Authentication During Domain Controller Failover
I am experiencing an issue with Azure DevOps (TFS) that impacts its ability to authenticate when one of our two domain controllers goes down. Here are the details:
Environment: Azure DevOps is ...
0
votes
1
answer
114
views
git tfs clone the root repo along with all branches
Im migrating TFS to git, and running into some troubles.
The desired outcome:
migrate TFS full repo, the root TFS repo should be git master branch, and all other TFS branches should become git ...
-1
votes
1
answer
127
views
Azure DevOps Server REST API call returns HTTP 500 on a Windows server machine, but works correctly on a client machine
I'm working with the Azure DevOps Server REST API (on-premises TFS/Azure DevOps Server) from a C# application using HttpClient with UseDefaultCredentials = true.
When I run the app locally on my ...
0
votes
0
answers
66
views
How to connect to my tfs server (Azure Devops on premise) using Visual Studio Code?
I am trying to integrate my tfs server and VS Code, but I am not successful. I tried the following solutions from the links shown, but I was unsuccessful.
How to connect TFS in Visual Studio code
I am ...
0
votes
0
answers
106
views
Error on Build machine - error NU1301: Unable to load the service index for source 401 (Unauthorized)
Our build machine has just started to get the following error when attempting a nuget restore on a c# solution that uses a specific nuget feed (the only project using this feed):
error NU1301: Unable ...
0
votes
1
answer
70
views
VSS.SDK.min.js:2 No handler found on any channel for message
I am trying to create an Azure DevOps extension (in my case for Server 2020, on-premises, xml process) and for my configuration hub I keep running into "VSS.SDK.min.js:2 No handler found on any ...
0
votes
0
answers
35
views
Is it possible to restrict Azure DevOps work item context/toolbar menu to specific work item types?
I’m building an Azure DevOps Server 2022 extension that adds a custom menu item to the work item toolbar (i.e., the top menu inside the work item form).
I'm using the following extension target:
"...
0
votes
0
answers
27
views
Integration between Bitbucket and Azure DevOps Server
I have a project repository in bitbucket. I want this repo to be triggered synchronously in azure devops pipeline, that is, when I make a change and commit it to bitbucket, azure devops will detect ...
0
votes
0
answers
47
views
Automating Merges for Non-Conflicting Changes in TFS 2015 (e.g., Adding Methods to the End of a Class)
We are using TFS 2015 Update 3 as our version control system. However, we are encountering recurring issues during merges, especially when adding new methods or properties to the end of a file by ...
0
votes
2
answers
151
views
Email Notifications in Azure devops Server on a scheduled build
On our on-prem Azure Devops Server 2020 we have a build pipeline that runs every evening at 23:00. We would like to receive an email at the end of the build. For some reason we do not receive mails.
...
0
votes
1
answer
128
views
How can I set the diff algorithm for a git diff on Azure Devops?
The --diff-algorithm option allows you to change how a diff is displayed - I use "histogram" to create a diffs that appear more logical to me when I'm running git on the command line.
How ...
1
vote
0
answers
310
views
CodeSearch not working on collections in Azure DevOps Server 2022 after indexing has completed
I am the admin on an Azure DevOps Server 2022 instance where we manage about 15 collections. We recently updated to version 2022.2 and have been trying to get the CodeSearch feature working on our ...
-1
votes
2
answers
752
views
The project with id does not exist, or you do not have permission to access it
In my azure devops pipeline i have the following code,
- task: PowerShell@2
inputs:
targetType: 'inline'
script: |
echo $(System.AccessToken) | az devops login
displayName: '...
0
votes
2
answers
109
views
Where does the TFS pipeline prints the output?
Suppose I want to build a pipeline of a code which will print "Hello from CICD" in Azure Devops on a Linux agent. Now I want to know that after the pipeline is successfully run where is the ...
0
votes
1
answer
100
views
Unable to run CICD pipeline using Azure Devops
I have setup my windows machine as agent in the default agent pool in the Azure Devops Server but when I am trying to build a pipeline its is not running. Just the pipeline code is being saved in the ...
0
votes
1
answer
46
views
Bin and Obj Folder - Team Foundation Server Issues
I have an ASP.NET MVC application shared through TFS for our development team.
We recently have gone over to Team Foundation Server to manage code together.
However, I am running into a bit of an ...
0
votes
1
answer
81
views
Team foundation server 2017 on premise will not build multi target class libraries
I changed a few libraries to multi target net481;net8.0. This all builds perfectly on my local visual studio, also no runtime errors.
However when building this through our on prem team foundation ...
0
votes
1
answer
60
views
Authorization TFS Express [closed]
I have problem with TFS Express.
My version is Team Foundation Server 2017 (15.117.27414.0 Update 3)
When I try to get Security Administration in Console Administation I get this error:
What is wrong?...
0
votes
2
answers
152
views
Download a Zip File from Azure DevOps Git Repo Using Azure DevOps SDK
I am trying to download a zip file from an Azure DevOps Git repository using the Azure DevOps SDK for .NET (dont want to use the plain REST APIs).
public async Task DownloadItemAsync(string ...
-1
votes
1
answer
769
views
Get Pull Request File Content DIFF using Azure Devops REST Api
I am developing a service hook for Azure Devops Pull Request created event. In this service hook i want to get the files modified in this Pull Request and get the DIFF content details about each file ...
0
votes
1
answer
97
views
Redundant GIT authentication request under TFS
in my company we started using TFS (2018) to manage projects. Company rules requires domain access to server so IT office configured TFS in this way... and it seems to work, I can access TFS server ...
0
votes
1
answer
67
views
Is it possible to list only files deleted from TFS using tf dir?
I have a requirement to list out all of the objects that have been deleted from a folder in VSTS using the TFS version control system (ie: not Git).
I can use PowerShell to run the CLI command
tf dir $...
0
votes
0
answers
31
views
How to use Azure Devops Extension built-in functionalities inside ControlContribution?
Currently I'm using a third party extension called tiny mce, in my azure devops extension template for an azure devops workItem as follows -
<Section>
<Group Label="Description ...
0
votes
1
answer
64
views
How to Add Expand Button for Custom Description Field in Azure DevOps Server 2022 Extension?
I am developing a custom extension for Azure DevOps Server 2022, which includes a custom description field with additional functionalities beyond the default one. My goal is to add an maximize button ...
1
vote
1
answer
69
views
Azure Devops Server Pipelines: Any way to have a Stage result as "Succeeded" even if a constituent Job reported "SucceededWithIssues"?
Some tasks are expected to fail. Fortunately we have "continueOnError" for that. However, that results in the job being marked as "succeededWithIssues" which would be fine except ...
0
votes
0
answers
123
views
How to make my WIQL query with multiple OR's faster
I have a WIQL query (in my .NET application) to get specific workitems with a custom field MYGUID. I only want to retreive the items that contain specific GUID's. The query below works. But I have a ...
0
votes
1
answer
39
views
How to get list of changed files before checking them in using tf.exe (TFS)
I have a batch file that make check-in in a directory of changed files. In general, command looks like:
tf.exe checkin /comment:"Update list of common files" /noprompt /recursive ./common
I ...
2
votes
2
answers
59
views
team foundation on prem gives build error when building netstandard project
We have been building our portal website (solely asp.net framework 4.8.1) on our team foundation on prem. Recently I have decided to remove our membership from this website and replace it with ...
0
votes
0
answers
56
views
Changesets Missing Links to Work Items During Migration from TFS to Azure DevOps Server
We are migrating from TFS to Azure DevOps Server.
We have transferred the TFVC repository.
When creating changesets, I attempt to establish a link between changes and the work items, and this is done ...
0
votes
0
answers
45
views
Unable to start job on Jenkins - pipeline with TFS
I have a Jenkins build machine that is not very up-to-date because I need to use the TFS plugin. I have several builds configured (which work correctly) using the steps defined in the job definition. ...
0
votes
0
answers
89
views
Azure DevOps Extension: How to validate links when a new work item is created and attached automatically?
I am developing an Azure DevOps extension to validate work item links when they are added in a work item form. I am working with on-premises Azure DevOps and using an XML process model.
The Problem:
...
0
votes
1
answer
306
views
Self Hosted AzureDevOps agent disconnection after few mins of inactivity with error "Socket Error: ConnectionReset"
I'm running AzureDevOps Pipeline on GCP VM.
I have successfully attached one of the GCP VMs as a Self-Hosted agent to AzureDevOps to provision resources in GCP.
I can run all the pipelines ...
-1
votes
1
answer
57
views
How to use an Azure DevOps form control extension without adding visible UI elements to Work item type definition?
I have developed an Azure DevOps form control extension that validates whether all attached work items (linked items) are in the "Done" state. If any linked work item is not in the "...
0
votes
1
answer
64
views
Team Explorer Everywhere Command Line Client workflow map validation errors
I'm working on a MacOS machine and trying to configure a TFS workspace, to work with VS Code and a proper extension.
I may be wrong but all the extensions available requires that the workspace is ...
0
votes
1
answer
180
views
Migrating Work Items from TFS 2012 to Azure DevOps Server 2020
I need to migrate both source and backlog data (Work Items) from TFS 2012 to Azure DevOps Server 2020. Initially, I planned to export the Work Items as a CSV file and manually import them into the new ...
-1
votes
1
answer
97
views
Authentication failed error while pulling from TFS through PAT
I have a TFS repo with some source files. Checkout using the username and password works as expected. But when I try with PAT, it shows the error below.
git -c http.sslVerify=false clone https://<...
-1
votes
2
answers
120
views
How to pull source codes from TFS for building images in openshift pipeline
I have created one openshift pipeline as follows:
- name: fetch-repository
taskRef:
kind: ClusterTask
name: git-clone
params:
- name: URL
value: $(params.git-url)
- name: ...
0
votes
1
answer
47
views
TFS 2017 Git API - Get Tag By Name
Is it possible to get annotated tag information via tag name in TFS 2017 API? There is an Annotated Tag section in the documentation, but it wants the object ID of the tag.
I have the Repository ID ...
0
votes
1
answer
69
views
WorkItem Creation Transaction Rollback
Is there a way to implement a rollback mechanism when creating work items in C#? I want the work items to be created only after the program finishes running successfully. If an exception occurs, the ...
-2
votes
1
answer
75
views
Get tfs changeset based on build in .NET 8
I have a .NET 8 web application that displays the product's version to the user.
Within the csproj file i have the following setting among others:
<PropertyGroup>
<VersionPrefix>1.0.0....
0
votes
1
answer
476
views
Error 500 while creating Azure DevOps server connector in Microsoft teams
when trying to configure the Azure DevOps server connector in Microsoft Teams it gives an error in the inspect and gives an empty page as a response :
I have been attempting from the web client and ...
4
votes
1
answer
815
views
How to mark NuGet packages on Azure DevOps feed as deprecated to use nuget search or dotnet list package --deprecated?
In Azure DevOps Builds, checks for deprecated and vulnerable nuget packages work great using:
dotnet list "HappySolution.sln" package --deprecated --source https://api.nuget.org/v3/index....
0
votes
2
answers
215
views
How to Retrieve the Triggering Pipeline's runName in a YAML Release Pipeline
I want to know which pipeline triggered my YAML release pipeline.
Below is a sample YAML file of the release pipeline:
resources:
pipelines:
- pipeline: Dev_Pipeline_Source_BuildPipeline
...
1
vote
2
answers
131
views
How to get a branch name for a dedicated changeset number via PowerShell
I am trying to get the branch name for a specific changeset but this information does not exist.
I am using this:
GET https://dev.azure.com/fabrikam/_apis/tfvc/changesets/16?api-version=7.1
https://...