ISSUE :
 
Profile photo
Submitted by Cindy Zhang
on March 8th, 2012 at 13:46:52 EST

TFS error - The path... is already mapped in workspace

I am creating a new build in Team foundation server. But I am getting workspace mapping error whenever I tried to execute.
The path C:\Builds\5\TFSProject\testproject is already mapped in workspace 25_5_WIN2K100

How do I get hold of this error?

Actually what happened was I had same build name created before which I deleted and trying to re-create again.


Profile photo
Replied by SBajra
on March 8th, 2012 at 14:07:03 EST
Workspace is created automatically during TFS build. If you have deleted previous TFS build and trying to add same build name again, you might need to delete the workspace manually.

first of all get the owner username and workspace name that you wanted to delete using:
tf.exe workspaces /owner:*


Then you can delete workspace using tf.exe:
tf.exe workspace /delete WorkSpaceName;OwnerUserName


Note:Execute this command from within TFS mapped folder.

Once the workspace is deleted, you should be able to created TFS build again.
Accepted Answer
Accepted
 Answer