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
113
votes
7 answers

difference between Product Backlog Item and Feature in Team Foundation work item types

I have a question about Microsoft Team Foundation. In Visual Studio, Team Explorer, I can create a new work item. Work item types here are dictated by your team's chosen process template; I'm not sure which process template we're using. In any case,…
user1556120
  • 1,133
  • 2
  • 8
  • 5
113
votes
4 answers

TFS Get Specific Version into separate folder

I'm currently working on a project with TFS source control. We've just gotten in a bug report for an older version of the code, and I need to pull down that version of code to test it out. My first thought would be to "Get Specific Version" to…
Andy White
  • 86,444
  • 48
  • 176
  • 211
112
votes
7 answers

How to revert (Roll Back) a checkin in TFS 2010

Can anyone tell me how to revert (roll back) a checkin in TFS 2010?
devlife
  • 15,275
  • 27
  • 77
  • 131
110
votes
22 answers

CodeLens not showing references

CodeLens stopped working for some reason in project solution that I'm dealing nowadays. It is not showing references instead "- references". However, when I open up Visual Studio with another project It works like charm.I can confirm that CodeLens…
kkocabiyik
  • 4,246
  • 7
  • 30
  • 40
109
votes
3 answers

What are the big differences between TFVC (TFS Version Control) and Git for source control when using Visual Studio 2013?

There are tons of questions and answers about Git versus TFVC Source Control, but no current answers cover the integration of Git into Team Foundation Server/Service that I can find. I'm starting green pasture development using a wide variety of…
Greg Grater
  • 2,001
  • 5
  • 18
  • 24
108
votes
6 answers

Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically

I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server. I need to script (e.g. BAT file script) the following: Get latest version of folder in Team Project. Check out files of folder in Team Project. Check in files of folder in…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
105
votes
9 answers

How to work offline with TFS

Our TFS server has some temporary connectivity issues right now, and as such VS has gone unresponsive, leaving 50+ developers unable to work! Is it possible to switch TFS into an offline mode in the event of such an issue?
MPritchard
  • 7,031
  • 7
  • 28
  • 40
105
votes
5 answers

Can I unshelve to a different branch in tfs 2008?

Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt)
spinodal
  • 4,007
  • 3
  • 29
  • 38
104
votes
10 answers

How to get tf.exe (TFS command line client)?

What's the minimum amount of software I need to install to get the 'tf.exe' program?
213897
  • 1,561
  • 4
  • 15
  • 16
104
votes
12 answers

Find in Files: Search all code in Team Foundation Server

Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe... Currently I perform a Get Latest on the entire codebase and use Windows Search, but…
Mark Glorie
  • 3,733
  • 3
  • 28
  • 31
103
votes
14 answers

Visual Studio retrieving an incorrect path to a project from somewhere

Visual Studio (and possibly TFS) has somehow (I think perhaps during a source control merge) become confused about the path of a project within my solution. It thinks it is here (example paths for simplicity): C:\My…
Charlie Drewitt
  • 1,563
  • 2
  • 10
  • 14
103
votes
1 answer

TFS: Updating branch with changes from main

So, we have our main dev line, I create a branch, and developer b creates a branch. We both do some work. developer b finishes his work, merges back into the main dev line. I know his changes will affect me, and rather than deal with the…
CaffGeek
  • 21,856
  • 17
  • 100
  • 184
102
votes
4 answers

How to undo another user’s checkout in TFS?

As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file checked into source control. How do you undo another user's checkout?
brett rogers
  • 6,501
  • 7
  • 33
  • 43
101
votes
4 answers

What is the difference between "Compare with Workspace version" and "Compare with Latest version"?

I am using Visual Studio 2012 with TFS. Whenever I want to compare my checked out files, I have two options to choose from: Compare with workspace version Compare with latest version What is the difference ?
Bilal Fazlani
  • 6,727
  • 9
  • 44
  • 90
99
votes
32 answers

Checking in of "commented out" code

Ok, here is something that has caused some friction at my current job and I really didn't expect it to. Organized in house software development is a new concept here and I have drawn up a first draft of some coding guidelines. I have proposed that…
John
  • 1,094
  • 2
  • 11
  • 20