|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.|
How to: Edit a Workspace
Use workspaces to store and synchronize local copies of Team Foundation source control items. Should the need arise, such as changing the working folder, you can edit these workspaces. You can edit a workspace in Visual Studio, or from the command line using the. The following procedure demonstrates how to edit a workspace from your computer in Visual Studio. Prior to editing a workspace, you must first create one. For more information, see .
To perform these procedures, you must either own the workspace, or have the Administer workspaces permission set to Allow. For more information, see.
To edit a workspace
From the File menu, click Source Control, and then click Workspaces.
In the Manage Workspaces dialog box, under the Name column, highlight the workspace that you want to edit, and click Edit.
In the Edit Workspace dialog box, you can conduct the following tasks as needed:
Edit the name in the Name box.
The computer name value is non-mutable. If a computer name changes, run tf workspaces /updatecomputername. Otherwise, workspaces cannot move from one computer to another. For more information, see.
Enter a comment describing the edits to the workspace in the Comment box.
Edit the working folders. For more information, see.
Click OK to save the workspace changes.
With the workspace established, you now need to populate your workspace with source from the server. Seefor more information on how to do this.
In the Manage Workspaces dialog box, click Close.