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 provides a set of collaborative software development tools that integrate with your existing IDE or editor, enabling your cross-functional team to work effectively on software projects of all sizes. TFS combines activities such as Source Control Management, Work Item Tracking, Project Management, Build Management, and Reporting into a single product with strong integration points to the Visual Studio and Microsoft Office product lines. Find out more here.

Additionally, the rich API and extensibility points of TFS allows for custom applications and plug-ins to be created to customize TFS beyond the standard clients and server actions.

TFS and VSTS are highly related, sharing the same code base and most features, with the differentiator being TFS is the on-premise version, while VSTS is the hosted, software-as-a-service offering. Upcoming TFS features are usually made available in VSTS before being released in a quarterly update.

Looking to migrate from TFS to VSTS?

Move from TFS to VSTS and bring your data along. The TFS Database Import Service can help make your move to the cloud a reality! Follow the step by step migration guide to import your entire TFS database so your team can always be on the latest version in VSTS and take advantage of the many developer services available with VSTS. Find out more here.

Tag Usage

It is recommended to use the tag along with the specific product area tags:

  • : work items, boards and sprint planning
  • : continuous integration build in TFS
  • : migrating from TFS to VSTS
  • : Team Foundation Version Control, the centralized version control system
  • : Git repositories in Team Foundation Server

Also see the tag if you're using Visual Studio Team Services instead of the on-premises .

Other resources

We have channels that you can also voice your concerns, FAQs, documentation and submit an idea:

21756 questions
6
votes
2 answers

Azure pipeline error 'Windows PowerShell is in NonInteractive mode.'

I am installing IIS on a windows 10 Pro machine using power shell script. I am using this blog post to create the script. The script installs IIS with following core. # * Make sure you run this script from a Powershel Admin Prompt! # * Make sure…
Simsons
  • 12,295
  • 42
  • 153
  • 269
6
votes
4 answers

"Illegal characters in path" while cloning with git from Visual Studio 2017

On Visual Studio 2017, I can not clone a repository with git. I'm having this error message: The repository url is good and the destination folder is also fine (no spaces or special characters). I tried on another computer and everything works…
Régis NIOX
  • 741
  • 2
  • 12
  • 30
6
votes
1 answer

Deploy SSIS Project using TFS Command Line

How do I deploy an SSIS project from TFS 2015? For regular database projects, it is sqlpackage.exe /publish with publish profile. What is the command line argument to auto deploy SSIS Project Model into a server? We are using SQL Server 2016…
user11156893
6
votes
3 answers

How to create a .tfignore file?

Visual Studio 2017 (v15.9.9). I can't seem to figure out how to create a .tfignore file. If I do it manually, windows tells me I need to add a file name. And I am not seeing anywhere via the IDE to create one. I'm used to GIT, where I can right…
Casey Crookston
  • 13,016
  • 24
  • 107
  • 193
6
votes
1 answer

How to completely replace master with another branch in Azure DevOps

Using Azure DevOps, there is a repo with valid code being maintained in a secondary branch. However, the master branch is multiple years out of date. I want to obliterate the contents of master and overwrite it with the contents of the secondary…
nuprap
  • 385
  • 5
  • 22
6
votes
1 answer

service fabric package command fails when called from tfs

While building service fabric the package command runs file in local machine, but fails when this is added as a build steps in TFS/VSTS. We are using onPrem build agent. dotnet msbuild DependentServices.sfproj /t:Package It throws error: The…
6
votes
1 answer

dotnet test: how to include assembly name into the .trx result files?

I'm running a test solution with a build on a TFS server. I'm generating .trx files using the command dotnet test --logger:trx; on the whole solution, which includes multiple test projects. However, the default .trx files names don't contain an…
Morgoth
  • 237
  • 2
  • 11
6
votes
1 answer

Pull request policies - Build expired - How can I run the build again?

I have made a pull request which has some policies. The pull request has been approved and is ready to complete, but since the build has been expired, I cannot Complete it. Here is the status of policies: Required ✔️ 2 reviewer approved ✔️ Work…
devquestions
  • 113
  • 1
  • 8
6
votes
2 answers

Dotnet test task fails with ''MSB1008: Only one project can be specified" error after upgrade to version 2.0

The TFS instance I am working on was recently upgraded from TFS 2017 Update 1 to TFS 2018 Update 2, allowing me to change the dotnet task version used in my build definitions from 0.* to 2.*. In doing so, the dotnet test step no longer works,…
Adrian Sanguineti
  • 2,455
  • 1
  • 27
  • 29
6
votes
1 answer

where are the logs stored in TFS2017

I've installed TFS 2017 in Windows server 2016. I just want to know the following where are the installation logs stored in server? Where are the transaction/history logs stored in server? Correct me if am wrong, is it possible to backup history…
Shalem
  • 1,446
  • 2
  • 22
  • 47
6
votes
2 answers

How do I get Team Build to show test results and coverage for xUnit.net test suite?

Has anybody had any success getting Team Build to show xUnit.net test results and code coverage in the build report? The MSBuild runner is running the tests just fine and the results are in the log file, but the test results and code coverage…
Harper Trow
  • 85
  • 1
  • 6
6
votes
2 answers

TFS View History in VS2010 for all files under a Solution

I'm trying to view history in Visual Studio 2010 for all files included in a given Solution file via the Solution Explorer View. I use TFS 2010 for source control, and I'm aware that I can get history for a folder recursively in Source Control…
Brett
  • 63
  • 3
6
votes
1 answer

TFS Git repository asking constantly for credentials on Windows Command Prompt

Each time I try to pull changes from a git repository in TFS, I get the following error using the Windows Command Prompt: Method 'DeleteCredentials' in type 'Atlassian.Bitbucket.Authentication.Authentication' from assembly …
aibars
  • 93
  • 1
  • 10
6
votes
2 answers

How to connect TFS Online using PAT or OAUT?

Can't believe I'm stuck with a LOGIN :( hate when this happens. Can somebody enlight me how to connect TF.EXE by using PAT password or in the best case an OAuth token? I might add that I already have a Pat token and an OAuth token, not a problem…
Yogurtu
  • 2,656
  • 3
  • 23
  • 23
6
votes
2 answers

How to update a custom TFS field programmatically

We have a custom build process (not using MS Build) and during that process I am adding a "fake" build to the global builds list. The reason I am doing that is so that you can select the build for a given work item (found in build). We have a custom…
Nick
  • 65
  • 1
  • 4