jaekie
jaekie

Reputation: 2303

How do I unmap a project?

How do I unmap a project in Team Foundation Server 2010?

I changed the location of a source control, and completely removed it from TFS source control. but now it is showing up wanting to add it:

alt text

Also, when I try to Map the new project, it is giving the error below. I've completely deleted the files off my local PC, and I'm wanting to map and get latest version from source control, but it gives an error trying to map. I'd rather not change the location. How do I remove the old binding and the project, when it was already deleted using TfsDeleteProject.exe?

enter image description here

Upvotes: 57

Views: 105349

Answers (3)

SriG
SriG

Reputation: 11

In the source Control Explorer right click on the solution you would like to Remove Mapping enter image description here

Click "Remove Mapping"

Upvotes: 1

Coder Panda
Coder Panda

Reputation: 668

I would like to add something to the accepted response...

If you have used some other credential to get code previously, then there would be a workspace already existing that would be mapped to the mentioned local folder. In that case the new credential can not be used to map the same server folder to the same local folder. You will first have to login with the older credential and delete that workspace and then you need to create a new workspace with your new ID and then map to the desired folder (which should now be unlocked) and you should be ready to go.

Upvotes: 3

TJB
TJB

Reputation: 13497

You should be able to go to Workspaces and remove/add any mappings there directly.

  1. Go To Source Control Explorer
  2. Expand the Workspaces drop-down along the toolbar in the Source Control Explorer
  3. Click the last entry to manage workspaces

There you should be able to remove mappings.

Here is an article discussing Workspaces
http://www.woodwardweb.com/teamprise/000334.html

Upvotes: 104

Related Questions