Microsoft KB Archive/138344

= HOWTO: Set up a Shadow Dir in Visual SourceSafe Administrator =

Article ID: 138344

Article Last Modified on 3/14/2005

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q138344



SUMMARY
Visual SourceSafe gives the administrator the ability to configure the system for shadow directories. A shadow directory is a centralized directory on your network server that contains all the files in a project. The shadow directory contains a copy of the most recently checked-in version of each file in the project. Therefore, it serves as a centralized area to view and compile your source code.



MORE INFORMATION
Setting up shadow directories in Visual SourceSafe is a multiple-step process. This article shows the SourceSafe administrator how to properly configure the system for a shadow directory.

Step-by-Step Procedure
 Open the Visual SourceSafe Administrator.

 On the Tools menu click Options. Click the Shadow Directories tab. Set the project to be shadowed. Use the Browse button if necessary. Set the directory to which this project will be shadowed. Set the shadow directory options in the "Files in Shadow Directory" section. Click OK to save these options.</li></ol>

NOTE: Close the Visual SourceSafe Administrator and Explorer before proceeding to the next step, so changes will take effect.

</li> Go to the directory that you set in step 1.d. Delete all files from that directory that are in the SourceSafe project that is to be shadowed to that directory.

NOTE: If you are using Visual SourceSafe version 5.0 or later, you can skip the next step.</li> Go to the Visual SourceSafe Explorer.

<ol style="list-style-type: lower-alpha;"> Select the project that was shadowed in the Visual SourceSafe Administrator.</li> Click the Get toolbar button. On the SourceSafe menu, click Get, or press CTRL+G to bring up the Get dialog box.</li> Enter the directory to which the project was shadowed, and click OK.</li></ol> </li></ol>

At this point, a copy of all of the files for the project will be placed in the shadow directory. Whenever the file is updated in Visual SourceSafe, the file will be updated in the shadow directory as well.

<div class="references_section">