How do I unmap a project?

Visual StudioTfs

Visual Studio Problem Overview


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

Visual Studio Solutions


Solution 1 - Visual Studio

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

Solution 2 - Visual Studio

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionjaekieView Question on Stackoverflow
Solution 1 - Visual StudioTJBView Answer on Stackoverflow
Solution 2 - Visual StudioCoder PandaView Answer on Stackoverflow