Open Solutions and Projects from Version Control

In Team Foundation, solutions and projects are stored in the Team Foundation version control server and are affiliated with a specific team project. The following procedures describe how to open these solutions and projects by using either the menu of Visual Studio or Source Control Explorer, or by using links attached to work items.

Note

  After you open a solution or project in Team Foundation, you must check out the files that are associated with the solution before you modify them. For more information, see Getting a Local Copy of Files from the Version Control Server.

Required Permissions

To perform these procedures, you must have the Read permission set to Allow. For more information, see Team Foundation Server Permissions.

To open solutions and projects from the menu

  1. On the File menu, click Source Control, and then click Open from Source Control.

    The Open from Source Control dialog box appears.

  2. In the Items of type drop-down list, select the types of items that you want.

    The default is All Project Files.

  3. Double-click the desired team project folder.

    The Item name label underneath the listing of projects confirms your selection.

  4. In the Workspace drop-down list, select the desired workspace.

  5. (Optional) In the Local Path text box, type the desired local path or click the ellipses () to browse for one.

    For more information about workspaces, see Create a Workspace to Work with your Team Project.

    Note

    The Local Path text box will be enabled only if you select a solution that exists in a folder that is not currently mapped in the workspace.

  6. Click OK.

To open solutions and projects from Source Control Explorer

  1. On the View menu, point to Other Windows, and then click Source Control Explorer.

  2. In Source Control Explorer, locate the folder that contains the solution or project file that you want to work with.

  3. In the file listing, double-click the solution or project file that you want open.

To open solutions and projects from work items

  1. In an open work item, click the Links tab, and then select the version-controlled code file in the Link Type column.

  2. Click Open.

See Also

Tasks

Create or Delete a File Attachment in a Work Item