How do I unmap a project?
How do I 开发者_JAVA技巧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:
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
?
You should be able to go to Workspaces and remove/add any mappings there directly.
- Go To Source Control Explorer
- Expand the Workspaces drop-down along the toolbar in the Source Control Explorer
- 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
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.
精彩评论