Share via


How to: Open Solutions and Projects from Source Control

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

Note

After a solution or project has been opened within Team Foundation, the files associated with the solution must be checked out before editing them. For more information, see Getting a Local Copy of Files from the Source 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 is displayed.

  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 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 Working with Source Control Workspaces.

    Note

    The Local Path text box will be enabled only if you chose 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, go to 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, select the Links tab, and then select the source code file in the Link Type column.

  2. Click Open.

See Also

Tasks

How to: Attach Files to Work Items