Share via


How to: Add and Remove a Working Folder in a Workspace

A workspace can contain more than one working folder. A working folder in a workspace consists of a server folder where the source control items reside on the Team Foundation server and an associated local folder where the source is copied down and synchronized to your local computer.

A workspace can only have a single instance for each server folder. You cannot map a server folder to a local workspace if it already contains a folder, or a child folder that is mapped to another server folder.

The following procedures demonstrate how to add and remove a working folder in a workspace.

Required Permissions

To perform these procedures, you must either own the workspace or have the Administer workspaces permission set to Allow. For more information, see Team Foundation Server Permissions.

To add a working folder to a workspace

  1. From the File menu, click Source Control, and then click Workspaces.

  2. In Manage Workspaces dialog box, under the Name column, highlight the workspace to which you want to add a working folder, and click Edit.

  3. In the Edit Workspace dialog box, in Working folders, click in the next available row under the Server Folder column, and either type the name of the server folder, or click the ellipses () to open the Browse for folder dialog box and go to the desired one.

    Note

    You can only have a single entry for each server folder in a workspace; therefore, you must select a different server folder than those already listed under the Server Folder column.

    Note

    The local folder selected cannot already be associated with another workspace.

  4. Under the Local Folder column, in the same row, either type the local path, or click the ellipse to open the Browse for folder dialog box, and go to a local folder or create one.

  5. Click OK.

To remove a working folder from a workspace

  1. From the File menu, click Source Control, and then click Workspaces.

  2. In Manage Workspaces dialog box, under the Name column, highlight the workspace from which you want to remove a working folder, and click Edit.

  3. In Edit Workspace dialog box, in Working folders, select the working folder that you want to remove, and click Remove.

  4. Click OK.

See Also

Tasks

How to: Create a Workspace
How to: Cloak and Decloak Folders in a Workspace
How to: Remove a Workspace

Other Resources

Getting a Local Copy of Files from the Source Control Server