TFS 2012 is installed on a Server. On this server there are 3 projects- Dev, QA, and Prod. Is there a way to locate where a source code file is on the server. So be able to tell if it is in the Dev, QA, or Prod project currently. And would this be by Source Code name or by using a label and searching for that label?
Share
I would say that division you have made as projects isn’t the intended way of using TFS, they’re meant to be made as branches within the same project. You may have specific reasons to have them created as projects (and I’m interested in why), but you won’t get much help from standard TFS source there, I’m afraid.
You can use
Find in Source Controlon wildcards or the equivalent tf commandto look for source control paths, but there are two caveats:
DeletionIDandLocal pathThis command could be scripted to search through each project folder. And here’s a related Q&A for doing it programmatically.