Compartilhar via


TFS Quick Tip: Cloaking

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

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

Rob

Comments

  • Anonymous
    August 21, 2013
    I do not have the option to cloak in my right click menu. It's annoying! I can, however, cloak by going to Workspaces -> Edit, and then pick each folder and mark it cloaked. Do you have any ideas why it's not in my right-click menu? Is it related to privileges maybe?

  • Anonymous
    February 08, 2014
    You can find this option in the sub menu under "Advanced" item when you right click the folder in explorer.

  • Anonymous
    November 03, 2014
    if you dont have the 'clock' option that means you have not made a mapping of your files to local. attention: after mapping do not 'get' your folder yet (a pop up will ask you to). now you can clock the folders you want!!!!!!

  • Anonymous
    July 26, 2016
    and how about of uncloak ?? does is possible?