21,860
questions
0
votes
1
answer
35
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
59
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 ...
-1
votes
1
answer
42
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
68
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 ...
0
votes
1
answer
72
views
Azure DevOps Dashboard - Release Pipeline Overview should support YAML Pipelines
I want to display yaml pipeline's stage results & status in my Azure DevOps dashboard. But there is no ADO Dashboard widget available for this purpose.
There is a deployment / release pipeline ...
2
votes
1
answer
109
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
89
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
108
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://...
2
votes
1
answer
62
views
Merge 2 brother branches via their parent branch without checking in parent in Visual Studio with TFS
Using TFVC for source control, I have a parent branch name QA, 2 branches dev1 and dev2 are below QA.
dev1[ with changes]
\
QA [ don't want to chek-in until all tests have been done ]
/
...
0
votes
1
answer
95
views
Exception setting "CursorPosition": "The handle is invalid." when running pipeline task using PowerShell Core
I'm trying to migrate CI process from TFS to Azure Devops.
I set up a pipeline with several PowerShell tasks, and turned on option "Use PowerShell Core" for them:
Then I ran my pipeline, ...
1
vote
1
answer
77
views
Azure DevOps. Can't trigger a pipeline in Repo A when a commit is done in repo B
I’m using Version Dev17.M153.5 (TFS), and I have two repositories: my source code is hosted in Repo B, and my pipelines are hosted in Repo A to keep responsibilities separated.
My goal is for the ...
-1
votes
1
answer
57
views
Unexpected Stage Skipping Behavior in YAML Pipelines Triggered Using Azure DevOps SDK
We have a YAML release pipeline with multiple stages with below dependencies defined:
Example:
Stage: A
Stage: B
Stage: C
DependsOn:
- A
- B
Stage: D
Stage: E
Stage: F
DependsOn:
- D
- E
...
1
vote
1
answer
32
views
Adding Solution to TFS assigns unexpected local workspace
Ok, we use TFS (Azure Dev Ops) on-prem for source control. When I create a new SSIS project in VS and go to add it to Source Control, I want it in the existing Architecture folder and the "add ...
0
votes
1
answer
52
views
How can I create the ReflectedWorkItemId field in Shared Steps?
I was trying to migrate Test Cases and Shared Steps from TFS to Azure, but it is not possible to create the ReflectedWorkItemId field.
I'm using Azure Devops Migration Tools to migrate Test Cases and ...
0
votes
1
answer
47
views
How to Migrate TFVS project to Azure Git Repos from different Organization
I want to migrate TFVC project which is exist in Org1 to Azure Devops Git Repos which is exist in Org2.
I tried to import it using Devops import repositry feature (that I find in dropdown of repos) ...