Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS: Removed Folder Mapping, but Mapping Still Shows

I'm having a hard time getting TFS to let go of some folder mappings.

I am working with Team Foundation Server for the first time. I have a folder tree on the server with lots of folders. I mapped a couple of project folders to local directories before I decided that I would rather just map the root folder, check recursive, and have it mimic the folder structure on the server.

After doing so, the lower level mappings were still there, so I decided to start from scratch. I removed all the mappings by right clicking on each mapped folder and choosing "Remove Mapping." Then I re-mapped the root folder with recursive checked.

The problem is that the original mappings still show up on the lower level folders. The "local path" shows the old local path rather than the new one.

I tried closing Visual Studio 2010 and deleting the folder C:\Users\myusername\AppData\Local\Microsoft\Team Foundation\3.0 and opening VS again. Still the old path shows.

I clicked on the Workspace dropdown -> workspaces... -> edit and removed any workspaces showing. Still the old path shows.

Does anyone know how to get around this? Where are these folder mappings even stored?

like image 526
Jason Kelley Avatar asked Feb 19 '14 21:02

Jason Kelley


1 Answers

After updating mappings Visual Studio will prompt you to do a "Get Latest Version", and it allows you to skip this step. Skipping this (or after a change from the commandline), a Get Latest Version (or Get Specific for that matter) is required to effectuate the changes to your mappings.

like image 54
jessehouwing Avatar answered Sep 28 '22 02:09

jessehouwing