Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

SourceSafe Options Dialog Box, Web Projects Tab (Administrator)

Visual Studio 2005

Sets information for a Web project, which contains files meant for HTML browsers. You can use this tab to specify an existing Visual SourceSafe project as a Web project. The project must have a URL and virtual root defined, and you can set the other options on the tab. Proxy information is set globally, using the Web tab in the SourceSafe Options dialog box.

NoteNote

You must quit Visual SourceSafe Administrator and tell all your users to close and restart Visual SourceSafe Explorer for the changes that you make in this tab to take effect. Visual SourceSafe will then display your Web projects marked with a special icon.

Dialog Box Access

In Visual SourceSafe Administrator, on the Tools menu, click Options, then Web Projects.

Browse

Allows you to navigate to a project in the database or a deployment location.

Deployment path

Specifies a path from which to deploy the Web project. This path can be on a hard drive on your local computer, elsewhere on a LAN, or on a remote computer (via FTP). If the location is local, specify it with a drive letter or in UNC format. You can enter several deployment paths in this box, separated by commas. You can also use the Browse button to locate a path. For more about setting deployment paths, see Remarks.

NoteNote

Entering a value in this field sets the Deploy_Path initialization variable in Srcsafe.ini.

Set Another

Optionally clears the dialog box so that you can set information for another Web project. This button is not enabled unless you have specified a valid project name and URL for the first Web project.

Site map filename

Specifies the name of the file for Visual SourceSafe to use to create a site map. The default is Sitemap.htm.

This project represents a Web Site

Specifies the name of the Web project. You can enter the name or click Browse to locate the project in a database.

URL

Indicates the URL for the Web project.

Virtual Root

Indicates the virtual root for the Web project. Some Web server software supports this. If you have specified a virtual root in your server software, you should specify it here, but without an initial slash. Entering a value in this field sets the Virtual_Root initialization variable in Srcsafe.ini. Note that lookups check Srcsafe.ini for any project with the specified virtual root.

Remarks

When specifying a remote location for the deployment path, use URL format. You must include the protocol specification for FTP ("ftp://") and the location. For example:

ftp://www.widgets.microsoft.com/

To these specifiers, you can add a user name or a user name and a password, and a folder path, if required. Use a colon (:) to separate user name and password.

Folder information for a deployment path applies to the FTP server root. When using typical FTP commands on Intel or UNIX, you log in to the FTP server and begin at a home path that is typically not the server root. For example, if you want to place a file in your Web site at Widgets Incorporated, you might perform the following steps:

  1. Access the site using ftp://ftp.widgets-inc.com/.

  2. Enter your user name and password.

  3. Change the folder to temp (a subfolder).

  4. Use the FTP "put" command to write the file.

To specify this location in the Deployment path box in this tab, type:

ftp://username:password@ftp.widgets-inc.com/usr/name/temp

Many systems use a tilde (~) to specify a home folder. For our example, you might enter the following, assuming that the Web server supports this common syntax:

ftp://username:password@ftp.widgets-inc.com/~/temp
NoteNote

When using the "~" symbol for a home folder, be careful where you enter the "/". For example "cd ~/temp" is a valid FTP command, but "cd /~/temp" is not.

NoteNote

You can remove the Web project designation if you are setting another project. Clear the URL and Virtual Root fields, and then click OK.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft