Visual Studio 2017 and TFS see what files are chec

2019-03-27 11:25发布

问题:

In Visual Studio 2015 I could use the TFS Power Tools and then do a "Find by Status" to get a list of all checked out files and who has them checked out.

Does anyone know of a way to do this in Visual Studio 2017? I've read that they do not plan on releasing a TFS Power Tools 2017.

Thank you,

回答1:

Actually, the "Find by Status" feature only works for Server workspace. If you're using Local workspace, it doesn't show anything.

As a workaround, maybe you could use the tf status command instead, it displays information about pending changes to files and folders.

Or you could use TFS API, here is an example: http://geekswithblogs.net/TarunArora/archive/2011/07/16/tfs-2010-sdk-get-list-of-user-workspaces-and-checked.aspx.