Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 and TFS see what files are checked out and to who

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,

like image 602
David Avatar asked Jan 26 '17 20:01

David


People also ask

How can I see all items checked out by other users in TFS?

You can use the Pending Changes window pane and the Source Control Explorer to view all of the files that you have checked out and need to check in. You can use the File List window pane and Pending Changes window pane to view files that are checked out by other users.

How do you check in and check out in TFS?

Right-click your project or project suite in the Project Explorer and then click Source Control > Check Out for Edit. Click Check Out for Edit on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and select Source Control). Start editing the needed project item.

Where is checkout file in TFS?

Simply go to View > Team Explorer then browse to the collection/project you are working on and double click on "Source Control" to open the source control explorer. This then will show you the directory listing system where you can see who has checked out which file and what kind of check out.

What does check out mean in TFS?

Check Out: Prevent other users from checking out and checking in the items until you check in and unlock them. Check In: Allow other users to check out the items you are checking out, but prevent them from checking in their changes until you check in your changes and unlock the items.


1 Answers

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

enter image description here

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.

like image 143
Tingting0929 Avatar answered Oct 21 '22 14:10

Tingting0929