How to TFS-unmap without losing physical files?

Nam G VU picture Nam G VU · Feb 18, 2011 · Viewed 35.3k times · Source

At the moment when unmapping a source on TFS Source Control in Visual Studio 2010, the local downloaded files are removed automatically.

How can I keep them untouched?

Nam.

Answer

Mindless picture Mindless · Jul 28, 2013

In VS2012

"You can remove the mapping in the Manage Workspaces dialog (File -> Source Control -> Advanced -> Workspaces...) Pick your workspace and select edit, remove the entry for that mapping. Then hit OK. When prompted to perform a Get you can say "no" and the items will stay on your local disk until you next perform a Get."

I added some more information on to it.

Source: Remove Mapping

Just in case anyone else need help with this because i went for hours searching for the solution....and this is the way to see all the mappings you have and remove them if wanted without deleting local files.