TFS Quick Tip: Cloaking

In the Source Control Explorer in Visual Studio (VS) 2010 or VS 2012, you can cloak any folder in the source tree that you want to recursively exclude from “Get Latest Version” operations.  Just right-click on the folder, select “Advanced” and “Cloak…”.  VS 2010/2012 will even delete all the local files and folders for those that are checked in; this means you will have to manually delete any obj and bin directories, etc.

I have found that this saves me a lot of time when pulling files from TFS repositories.

Rob

This post was migrated from https://blogs.msdn.microsoft.com/rob/2012/09/24/tfs-quick-tip-cloaking/.