0
votes

Running VS 2010, I want to now build on TFS 2010.

Originally I connected TFS server "tfs1". Now I want to map my local path to new TFS server "tfs2". How to disconnect my old mapping with tfs1? I got an error:

The path C:\test\xxxAdmin is already mapped in workspace aaa-PC[http://tfs1:8080/tfs/windowsapp]

Thanks.

3

3 Answers

2
votes

In the source control explorer for your old server, you can drop down the "Workspaces" list, choose "Manage workspaces," and delete the workspace you no longer want to use.

0
votes

Most of the time you can go to the directory in question ("C:\test\xxxAdmin") in a VS command window (Start->All Programs\Microsoft Visual Studio 2010\Visual Studio Tools\Visual Studio Command Prompt (2010)) and then enter "tf workspace". Unless things are a bit screwy this will bring up the GUI "Edit Workspace". Find the directory in the "Working Folders" list, select it, and click "Remove".

You should now be able to create the new mapping

0
votes

Select Manage workspaces and delete the workspace that you don't need.

enter image description here

You can also use tool Tfs Workspace

enter image description here