Welcome to MSDN Blogs Sign in | Join | Help

How to create shadow folders in TFS

One of the features from VSS that TFS does not support "out of the box" is shadow folders.  Last year, one of our interns, Philip, wrote short guide to setting up shadow folder for TFS by using Scheduled Tasks in Windows (he also wrote tfpt.exe).

I've attached the MS Word document to this post.  You can read the introduction below.  Another use for this is to prime the version control caching proxy at a remote location to minimize the amount of time users have to wait to get files from the version control repository.

Shadow Folders with Team Foundation Version Control

Microsoft Team Foundation Version Control does not support the concept of shadow folders. In Visual SourceSafe 6.0, shadow folders are a copy of the repository, constantly updated with the latest version of each checked-in item.

Shadow folders are useful for several situations, including:

  • Source code index servers
  • Centralized build servers

Shadow folders can be emulated with Team Foundation Version Control by using the Scheduled Tasks service on Windows Server 2003 or later.

Published Thursday, March 02, 2006 1:27 PM by buckh
Attachment(s): Shadow Folders.doc

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# VSTS Links - 03/03/2006

Manish Agarwal blogs on overriding precedence for properties in MSBuild.

Josh Ledgard tells us that...
Friday, March 03, 2006 9:55 AM by Team System News

# Team Foundation Version Control Shadow Folders

Buck Hodges has posted a short doc by a former intern on how to replicate the shadow folder feature...
Friday, March 03, 2006 1:03 PM by Rob Caron

# Team Foundation Server: Create Shadow Folders (Workaround)

Wednesday, March 22, 2006 4:23 PM by RobLog

# More power: New power toy release (tfpt) includes VSS-style project difference!

Brian Harry announced the latest release of the Team Foundation Power Toys in the post, New TFS Power...
Thursday, September 07, 2006 10:28 PM by Buck Hodges

# Team Foundation Power Toys video on Channel 9

Brian Keller has put up a video on Channel 9 that has Erin Geaney, a developer on the TFS MS Office integration

Tuesday, October 10, 2006 8:31 AM by Buck Hodges

# Shadow folders in TFS

After I've told everyone that it can't be done in Team System, Buck Hodges posts how to emulate that

Monday, April 16, 2007 2:31 PM by Dave's Team System Blog

# TFS Shadow Folders

We have often been asked whether TFS supports shadow folders as does Visual Source Safe and the answer

Thursday, September 20, 2007 2:33 AM by Willy-Peter Schaub's Cave of Chamomile Simplicity

# re: How to create shadow folders in TFS

This problem exists because MS failed to follow a central principle of good design - always enable multiple ways to access information, including UNANTICIPATED NEEDS,  using generic tools as well as app-specific tools. This is what open and reusable means.  This means avoid tool-specific repositories if possible (use generic file systems or databases), and if that's not possible, provide a means to create copies or emulate that access.

Thursday, December 18, 2008 1:39 PM by Paul Noeldner

# re: How to create shadow folders in TFS

Paul, we have a command line and an object model that provides access to the server so that you can build whatever tools you need to fill gaps.  This shadow folder solution uses the command line with the Windows task scheduler to fill this gap for folks that need it.

Also, the October TFS Power Tools for TFS 2008 release includes PowerShell scripts for TFS, further opening up possibilities to extend and adapt the system in new ways.

Buck

Thursday, December 18, 2008 3:37 PM by buckh

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker