2 Comments

When mapping a collection to a local folder in Microsoft Visual Studio 2013, I was getting the error:

The working folder … is already in use by the workspace … on computer …

 

image

 

To solve this problem I had to delete the workspace:

  1. Close Microsoft Visual Studio 2013.
  2. Open en command prompt in Administrator mode.
  3. cd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE"
  4. tf workspace /delete /server:http://1.1.1.1:8080/tfs/MyCollection MyComputerName;MyDomain\MyUserName
  5. Open Microsoft Visual Studio 2013. Mapping to local folder should now work.

 

For more information:

http://blogs.msdn.com/b/rob/archive/2012/10/13/solved-the-working-folder-source-path-is-already-in-use-by-the-workspace-workspace-name-owner-on-computer-tfs-server.aspx

http://stackoverflow.com/questions/8435135/change-computer-name-for-a-tfs-workspace

 

To list all workspace use:

tf workspaces /owner:* /computer:* /server:http://1.1.1.1:8080/tfs/MyCollection

To list detailed information on all workspaces, use:

tf workspaces /server:http://1.1.1.1:8080/tfs/MyCollection /computer:MyComputerName /owner:* /format:detailed

 

NOTE

In a specific case, deleting the workspace on the client was not enough. I had to execute the same command on the TFS server itself to delete both the client and de server workspace.

2 Replies to “Solving: The working folder … is already in use by the workspace … on computer … In Visual Studio 2013”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts