Microsoft KB Archive/317883

= How to manage your Visual SourceSafe configuration for use with Visual Studio .NET =

Article ID: 317883

Article Last Modified on 8/11/2006

-

APPLIES TO

 Microsoft Visual SourceSafe 6.0C, when used with:  Microsoft Visual Studio .NET 2002 Professional Edition

 Microsoft Visual Studio .NET 2002 Enterprise Architect

 Microsoft Visual Studio .NET 2002 Enterprise Developer

 Microsoft Visual Studio .NET 2002 Academic Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q317883

<div class="notice_section">

IN THIS TASK

 * SUMMARY
 * Requirements
 * Visual SourceSafe configuration options
 * Configuring Visual SourceSafe
 * Configuring Visual SourceSafe Administrator
 * Troubleshooting
 * REFERENCES

<div class="summary_section">

SUMMARY
This article describes how to set common configuration options in Microsoft Visual SourceSafe for use with Microsoft Visual Studio .NET.

back to the top

Requirements
The following list outlines the recommended hardware, software, network infrastructure, and service packs that are required:
 * Visual SourceSafe 6.0c
 * Visual Studio .NET

This article assumes that you are familiar with the following topics:
 * Visual Studio .NET
 * Source control programs

back to the top

Visual SourceSafe configuration options
The sections to follow demonstrate how to set several common configuration settings in Visual SourceSafe. You can use these settings to customize Visual SourceSafe to your own specific needs.

back to the top

Configuring Visual SourceSafe

 * 1) Start Microsoft Visual Studio .NET.
 * 2) On the File menu, point to Source Control, and then click Microsoft Visual SourceSafe. Visual SourceSafe 6.0 starts in a new window.

Note Depending on the account that you are currently logged in as, the Visual SourceSafe Login dialog box may appear. If this dialog box appears, type your user name, your password, and your database, and then click OK. If you are not sure of this information, contact your Visual SourceSafe Administrator.
 * 1) On the Tools menu, click Options.
 * 2) The Visual SourceSafe Options dialog box includes the following tabs:
 * 3) * General

Among other options, this tab includes the Reuse last comment check box. You can click to select this check box so that Visual SourceSafe automatically reuses the last comment that you typed for the next operation. When you repeat tasks, such as setting the start position for all forms in a Microsoft .NET Windows Forms application, this setting can save you extra typing.
 * 1) * Local Files

On this tab, you can change the various settings for the files that are stored on your local computer. Among other options, this tab includes the following options:
 * 1) ** Use read-only flag for files that are not checked out

Make sure that this check box is selected. This setting is very important because it prevents you from making changes to a file that has not been checked out.
 * 1) ** Set date/time on local files

In this list, click Modification. This setting determines how Visual SourceSafe sets the date/time stamp for files in your working folder when you get the latest file or check out a file. When you set this option to modification, your local copy of each file includes the date and the time that the file was last modified.
 * 1) * View

On this tab, you can select whether to display the toolbar, the status bar, and the results pane in Visual SourceSafe. You can also change the auto-refresh rate for the file list.
 * 1) * Difference

On this tab, you can set the font, the color, and other viewing options for when you compare files.
 * 1) * Command Dialogs

For every command that is performed on a file or on a project, there is an associated dialog box that includes additional options.

For example, when you use the Get Latest Version command on a file, a dialog box appears that includes additional options such as the ability to override the working folder. Typically, you do not want to override the working folder. Therefore, you may not want to be prompted with this dialog box every time you use the Get Latest Version command. You can click to clear the Get Latest Version check box so that this dialog box does not appear.

Click to clear both of the Get Latest Version check boxes.

Note If you change your mind later, you can click to select the Get Latest Version check boxes. Alternatively, you can press the SHIFT key when you perform an individual command.
 * 1) * Warnings

On this tab, you can turn on or turn off various warning dialog boxes. These warnings are displayed when perform a command that may result in the loss of data. Typically, you do not want to change these options.
 * 1) Click OK to accept the changes, or click Cancel to reject the changes.
 * 2) On the File menu, click Exit to close Visual SourceSafe.
 * 3) On the File menu, click Exit to close Visual Studio .NET.

back to the top

Configuring Visual SourceSafe Administrator
<ol> Click Start, point to Programs, point to Microsoft Visual SourceSafe 6.0, and then click Visual SourceSafe 6.0 Admin.</li> On the Tools menu, click Options.</li> The SourceSafe Options dialog box includes the following tabs:  General

On this tab, you can set general settings. Among other options, this tab includes the following options:  Allow multiple checkouts

With this setting, multiple programmers can check out the same file at the same time. Typically, you do not want to click to select this check box.</li> Log all actions in journal file

In this box, you can type a path such as C:\LogFile.txt. With this setting, you can track all actions (such as Get Latest Version and Check Out) that the users perform.</li></ul> </li> Project Security

You can use the settings on this tab as the default access rights when you add a new user to Visual SourceSafe. For example, you may not want new users to have access rights to destroy a file. In that case, click to select the Enable project security check box, and then click to clear the Destroy check box under Default user rights.</li> Shadows Folder

The shadows folder is a directory that contains all of the current versions of all of the files in a project. Because all files are stored in the Visual SourceSafe database, there is no absolute requirement to use a shadows folder. However, some users may find it useful to have a central location for all of the latest files.

The Shadow Folders tab includes the following text boxes:  Set shadow folder for project

In this box, you can type the name of an existing project, or you can click Browse to select a folder from a graphical list. The exact name of the project depends on what projects are under Visual SourceSafe control.</li> Set shadow folder to

In this box, you can type the name of an existing directory on your file system, or you can click Browse to select a folder from a graphical list.</li></ul> </li> Web Projects

On this tab, you can set various options for Web projects such as the URL, the virtual root, and the deployment path. These settings are useful for Microsoft ASP.NET and Web Service applications. These settings apply on a per project basis.</li> Web

This tab includes the following options:  <li>Proxy for deploying over ftp

You can use this setting to specify a proxy when you deploy a project through a firewall.</li> <li>Do not use the proxy for these local servers

This setting overrides the Proxy for deploying over ftp setting for local servers.</li> <li>Default filename for Web pages

You can use this setting during a Check Hyperlinks run.</li></ul>

Unlike the Web Projects tab, the settings on the Web tab apply across your Web projects.</li></ul> </li> <li>Click OK to accept the changes, or click Cancel to reject the changes.</li> <li>On the Users menu, click Exit to close Visual SourceSafe Administrator.</li></ol>

back to the top

Troubleshooting
The user must have a Visual SourceSafe account to access these configuration options. If the user does not have a Visual SourceSafe account, the user must contact the Visual SourceSafe administrator.

back to the top

<div class="references_section">