How to search for a specific file in the source control of TFS inside a particular selected project?

前端 未结 2 536
情深已故
情深已故 2021-02-19 02:01

Code:

string spName = \"usp_Test_Procedure.sql\";
var tfsPp = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false);
tfsPp.ShowDialog();
_tfs = tfsPp         


        
相关标签:
2条回答
  • 2021-02-19 02:50

    Install TFS Power Tools, on Source Control windows click with right button on Team Project or branch, on context menu choose Find > Find by Wildcard, just search files by names, not content.

    0 讨论(0)
  • 2021-02-19 02:55

    If you want to search by content and name you can create a workspace and "get" that specific version locally. Then use the built in search in your OS or in Visual Studio to find what you are looking for.

    0 讨论(0)
提交回复
热议问题