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.


Comments (4)

  1. Andrew says:

    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?

  2. Mohamed Break says:

    You can find this option in the sub menu under "Advanced" item when you right click the folder in explorer.

  3. jo says:

    if you dont have the 'clock' option that means you have not made a mapping of your files to local.


    after mapping do not 'get' your folder yet (a pop up will ask you to).

    now you can clock the folders you want!!!!!!

  4. Rodrigo says:

    and how about of uncloak ?? does is possible?

Skip to main content