Friday 18 November 2011

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

Imagine my dismay, our logins changed on the build server and now i start getting this little beauty on automated builds.... sigh. Solution is to find the offending work spaces and remove em.

Finding the workspaces in the first place :
tf workspaces /collection:[Collection name] 


you can find the collection name when you go to the team explorer under vs2010, the root node is the collection name.  Once you have the namespace, you can remove it using the following :


tf workspace /delete [workspace name]
the workspace name is usually in the format of x_x_buildserver


hope that helps !