Questions tagged [tfs]

For questions about Microsoft's Team Foundation Server - a team-oriented software development toolset, including: IDE integration, version control, CI, agile tools.

Microsoft's Team Foundation Server is a team-oriented software development toolset, including: IDE integration, version control, CI, agile tools.

From Team Foundation Server:

Team Foundation Server provides a set of collaborative software development tools that integrate with your existing IDE or editor thus enabling your cross-functional team to work effectively on software projects of all sizes.

23 questions
5
votes
2 answers

Does TFS Build have something like a Jenkinsfile?

I've seen some custom settings files used in combination with TFS build, but nothing native. Does Team Foundation Server or Visual Studio Team Services have a Jenkinsfile-like, declarative method for defining a build process?
Dave Swersky
  • 4,068
  • 2
  • 21
  • 33
5
votes
1 answer

Where does TFS 2017 actually store artifacts?

We had been using a TFS build process that copies build output to some fileshare for later use. But with TFS 2017 we want to use that fancy "Publish Artifacts" build stage that has the TFS server provide a .zip file of the artifacts via the RESTful…
Aaron
  • 51
  • 1
  • 2
4
votes
0 answers

How to automate unit testing a UWP app?

I have a Universal Windows Platform (UWP) application, but I am having trouble testing it. First off, there seems to be some issue with running MSTest in the latest versions of Visual Studio (currently V.S. 2017, 15.5.3) where the test app pops up a…
3
votes
1 answer

Why is my build script only failing when it is run in a vNext build?

I am running a build process on an on-prem server with TFS 2017 and vNext. The build works, but it takes 20+ minutes. This is an application that does msbuild, ngc, yarn, and karma. I would be totally fine with leaving it the way it is except for…
Aaron
  • 41
  • 3
3
votes
2 answers

Build user for Visual Studio Online

Using visual studio online, do I need a separate user for the purpose of ferrying code/builds across machines. I understand that the built in service account builds code and can publish, but with things like Jenkins that require access tokens to…
xtreampb
  • 433
  • 2
  • 15
2
votes
2 answers

Migrating from TFVS to GIT using GIT-TFS

We have a large TFS repository which we would like to migrate to git. We are considering using git-tfs for a while, in order for everything to continue working while we migrate. We have large (or small, but rapidly changing) binary files scattered…
Gulzar
  • 121
  • 4
2
votes
0 answers

Update Service Hooks in TFS2015 through Jenkins Job

Is there a way to modify what branch a service hook is monitoring through a Jenkins job? Our build jobs within Jenkins are triggered via service hooks within TFS. When we branch, inevitably we forgot to go over to TFS and update the service hook…
treeNinja
  • 121
  • 1
2
votes
0 answers

Creating a task for a backlog item automated in the release pipeline of VSTS

I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has anyone an idea how to accomplish this?
2
votes
1 answer

Test coverage of changed code in pull requests in git-tfs

We have a lot of legacy code that have poor test coverage. We wish that all new code that is checked in through pull requests has (close to) full test coverage. What is the best approach or tools to achieve this? We're using git-tfs, .NET C# and…
2
votes
0 answers

In TFS how to check a C# source code base for wrong usage of static variables or methods in multithreaded code before build

We have a huge base of code from an .NET Desktop ERP, database access layers are now being used for web projects, so we experienced multithreading issues because of static variables. For now I would like to check 2 cases (feel free to recomend…
Domagoj
  • 21
  • 1
1
vote
1 answer

How to setup multiple build environments in Azure DevOps/TFS2018?

So I have an application that contains an ASP.NET Core backend and a React frontend (pure static). In our TFS 2018, we have created a Build that does the following: Get sources from the repo Get Nuget packages (backend) Build the backend Run…
empz
  • 87
  • 2
  • 8
1
vote
2 answers

How to keep original and new repositories in sync during a migration? (including the commit history)

We have a git repository that is currently hosted on Azure Devops and have to migrate it to our in house TFS 2017 git (the move is due to a business decision). But during this setup we need to run both the original and new repositories in parallel…
gbh
  • 111
  • 3
1
vote
2 answers

How to use git repositories in Azure Devops with Visual Studio

I am working on Visual Studio projects using Visual Studio Community. I have created local git repositories and remote repositories on https://dev.azure.com. I want to work with Team Foundation Version Control. I need "Microsoft Team Foundation…
Bob5421
  • 155
  • 3
1
vote
1 answer

How do I trigger a build pipeline on a TFVC branch commit to map and get that branch?

I have project in DevOps TFVC not Git. I use branches, they live and die in the order of months. I want to create a build pipeline that is triggered when a commit is done on any of the branches and the agent job must map and get the relevant branch…
1
vote
1 answer

Why does TFS only support 1-to-many Predecessor /Successor relationships?

The TFS task tracker only supports 1-to-many Predecessor/Successor relationships (docs). I totally do not understand why is so. For me it's obviously a many-to-many relationship, since a task may be blocked by more than one predecessor tasks. This…
lhpcw
  • 11
  • 2
1
2