Edit a Workspace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A workspace includes a client-side working folder on the local disk that is mapped to a version-controlled folder on the Team Foundation version control server. You can modify the mappings and change the client-side working folder. You can modify a workspace mapping in Team Foundation, or from the command line by using the Workspace Command. The following procedure demonstrates how to modify a Team Foundation workspace from your computer.

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.

How to: Use Visual Studio to modify a workspace

  1. On the menu bar, choose File, Source Control, Workspaces.

  2. In the Manage Workspaces dialog box, under the Name column, highlight the workspace that you want to modify, and then choose Edit.

  3. In the Edit Workspace dialog box:

    1. Modify the name in the Name box.

      Note

      The computer name value is nonmutable. If a computer name changes, run tf workspaces /updatecomputername from the tf command-line utility. Otherwise, workspaces cannot move from one computer to another. For more information, see Workspaces Command.

    2. Enter a comment that describes the modifications that are made to the workspace in the Comment box.

    3. Modify the working folders.

    4. Click OK to save the workspace changes.

    5. (Optional) Choose the Advanced button.

      • Choose an option from the Location menu. The default value of Local is the best choice in most cases because it provides several advantages. Most notably, it lets you perform core version control operations even when you are not connected to your Team Foundation Server. For more information, see Local and Server Workspaces.

      • Choose an option from the File Time menu to control the date and time stamp that is applied to local files in your workspace.

        • Choose Checkin if you want the date and time stamp to match the stamp on the last check-in. This is the best choice in most cases.

        • Choose Current if you want the date and time stamp to match the date and time when you last modified the local file. For example, a team member checked in the latest change to the file on Monday. On Tuesday, you perform a get operation to update the file. The date and time stamp is set to Tuesday.

    Note

    Once the workspace is established, you must now populate it with files from the server. For more information, see Get Command.

  4. In the Manage Workspaces dialog box, click Close.

See Also

Concepts

Create a Workspace to Work with your Team Project

Create and Work with Workspaces

Create a Workspace to Work with your Team Project

Other Resources

Create a Workspace and Get Files for the First Time