1

I am working on a solution on Microsoft Visual Studio 2013 Premium, among a large group of developers. Every time someone makes changes in any file, i get the latest version of the solution and the Output Window gives a list with all the modified files. Problem is i want to check specific files in the project (.xml, .cs, etc). Is there a way to filter these files by their file extension or maybe by their folder location in the solution? Thanks in advance!

Habeeb
  • 7,601
  • 1
  • 30
  • 33
Tasos Moustakas
  • 308
  • 3
  • 12
  • 22

1 Answers1

1

The simplest way is using tf check out command.

There's an itemspec you could pass, and an itemspec could contain wildcards.

itemspec

Specifies the scope of the items to check in. For syntax, see Use Team Foundation version control commands.

For example, you could use below command to check out all .cs fils under a folder.

tf checkout /recursive *.cs
PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62