Setting up source control on your computer
To take advantage of the benefits of Team Foundation source control, you must first configure Microsoft Expression Web to use it.
Prerequisites
You must have Microsoft Visual Studio installed before you can use Team Foundation source control.
To create a Team Foundation workspace
You must create a Team Foundation workspace before you can use Team Foundation source control in Expression Web.
To connect to an instance of Team Foundation Server for the first time
In Visual Studio, on the Tools menu, click Connect to Team Foundation Server.
Note
If you do not see this option, you have not installed Team Explorer. You must install Team Explorer before you will have the option to connect to Team Foundation Server.
In the Connect to Team Project dialog box, click Servers.
In the Add/Remove Team Foundation Server dialog box, click Add.
In the Add Team Foundation Server dialog box, type the name or URL for the server.
When you type a server name, the Preview field automatically displays the URL format, for example:
http://ServerName:Port/tfs
ServerName is the name of the server that hosts Team Foundation Server.
Port is the port that Team Foundation Server uses; the default value is 8080. If your server uses a different port number, you must specify that port number in the URL.
tfs is the default path to the project collections that are stored on the server. If your team uses a different path, type it in the Path box.
Verify that the URL is correct, click OK two times, and then click Close.
In the Connect to Team Project dialog box, under Team Project, click the check box for each team project that you want to access, and then click Connect.
To connect and add team projects to Team Explorer
In Visual Studio, on the Tools menu, click Connect to Team Foundation Server.
Note
If you do not see this option, you have not installed Team Explorer. You must install Team Explorer before you will have the option to connect to Team Foundation Server.
In the Connect to Team Project dialog box, select from the Team Foundation Server list a server that is running Team Foundation Server.
Note
If the drop-down list is empty, click the Servers button to enter the server connection settings manually. Contact your Team Foundation administrator or team project administrator to obtain the connection settings.
Click the name of the project collection that contains the team project from the Directory list.
Select one or more team projects from the Team Projects list.
Team projects with a check mark next to them are added to Team Explorer.
Click Connect.
To create a new site in Team Foundation source control
In Expression Web, click Site, and then click New Site.
Browse to a location that is in the project workspace and create the new site there.
In the Folder List panel, right-click the root folder of your site and click Add to Source Control.
See also
Tasks
Concepts
Using source control
Source control best practices
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.