|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: 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.
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.
To perform these procedures, you must have the Read permission set to Allow. For more information, see.
To open solutions and projects from the menu
On the File menu, click Source Control, and then click Open from Source Control.
The Open from Source Control dialog box is displayed.
In the Items of type drop-down list, select the types of items that you want. The default is All Project Files.
Double-click the desired team project folder.
The Item label underneath the listing of projects confirms your selection.
In the Workspace drop-down list, select the desired workspace.
(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.
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.
To open solutions and projects from Source Control Explorer
On the View menu, point to Other Windows, and then click Source Control Explorer.
In Source Control Explorer, go to the folder that contains the solution or project file that you want to work with.
In the file listing, double-click the solution or project file that you want open.
To open solutions and projects from work items
In an open work item, select the Links tab, and then select the source code file in the Link Type column.