Klingons and Romulans everywhere will bristle with pride when they learn that cloaking has survived the conceptual port from Visual SourceSafe to Team Foundation. Cloaking is a vital feature in VSS as it speeds up expensive Get operations and conserves disk space on your client by not retrieving items that you deem outside the scope of your project. For Team Foundation users, cloaking works in roughly the same way as it does in VSS. In my opinion however, it is not such a killer feature, mainly because Team Foundation gets at warp speed compared to VSS and partly because disk space is much cheaper today than it was in VSS’ heyday.
[John Gallant] “I finally learned what the cloaking feature of VSS does and wanted to share.
If you cloak a folder, you are marking it as a folder that you do not want to include in a recursive get.
For example, lets say you have this dir structure.
– Apps (Cloaked)
If you were to do a recursive get from $/, the Apps directory would be excluded from the get.
This is very helpful if you want to get latest, but don’t want to get a certain dir, like “Images” for instance. A real time saver in my opinion.
How To Cloak:
1. Right click on VSS project
2. Select Properties
3. Check the “project cloaked for me” checkbox.
Here’s the complete ref.
In the Visual Studio Team System IDE, you can cloak a folder in your workspace using the Source Control Explorer in roughly the same way you do it in the VSS explorer. Using the Team Foundation command line utility, you can cloak a folder in your workspace using tf workfold /cloak c:\projects\images. Doing so ensures that the contents of the repository folder to which \images maps are not retrieved to disk during recursive Get operations of the c:\ or c:\projects directories.
Disclaimer Microsoft Visual Studio 2005 Team Foundation is an orange tree and Microsoft Visual SourceSafe is an pomegranate. They’re both sweet but they don’t compare. SourceSafe is a standalone source control system for individual developers and small teams. Team Foundation is an integrated, extensible work item tracking, workflow management, and source control system for teams of any size. For more information, see The [new] Future of Visual SourceSafe and Microsoft’s New Source Code Control Application.