TFS – Cloaking Folder bindings

June 25, 2007 at 11:47 pm | Posted in Uncategorized | Leave a comment

Cloaking folders is a useful feature of TFS Workspace management. It allows you to specify what folders not to bring down when you perform a Get Latest. This is particularly useful when having multiple branches in the one TFS project.  This is also very useful for continuous build servers as only the required code line is brought down.

For example:

The following TFS project structure is one recommendation as part of the TFS Branching Guidance document.


When I start for the day, I normally perform a Get Latest at the Project Site level. Because I have cloaked the branches folder, the Get Latest command only brings down source code from the “trunk” folder.

An alternative to cloaking, is to manually bind every sub folder in your project.

To activate cloaking:

  1. From Visual Studio, open the Workspace Manager
  2. Select the workspace
  3. Add a new binding pointing to the folder you wish to cloak.
  4. Set the status of the binding to “Cloaked”.

This can also be achieved from the command line utility.

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at
Entries and comments feeds.

%d bloggers like this: