Search code examples
tfsalm

How to remove a folder mapping from a TFS workspace?


I have a mapping to a folder in a TFS workspace:

$/Foo -> C:\Foo

one inner folder get the following mapping:

$/Foo/Bar -> C:\Foo\BAR

Is possible to remove the mapping of the "Bar"?

I do not want to remove the whole workspace (as many questions suggest). I already try deleting the cache of the TFS in the machine.


Solution

  • No, you can’t remove the mapping, but you can add/change inner folder mapping to a different folder.

    1. Open team explorer
    2. Click Workspaces dropdown box > Workspaces
    3. Select a workspace >Edit
    4. Add an additional mapping for inner folder (e.g. $/Foo/Bar) to a different folder (e.g. C:/Bar).