Bagikan melalui


Open a solution or project under source control

You open a solution that is under source control the same way that you open any other solution. The only difference is that the solution folder must be in your local Team Foundation workspace.

To open a solution or project under source control

  1. On the File menu, click Open, and then click Open Project/Solution (CTRL+SHIFT+O).

  2. In the Open Project dialog box, browse to the Team Foundation workspace folder that you created and populated with the files from the Team Foundation server when you set up Team Foundation source control. For more information, see Setting up Team Foundation source control.

  3. Locate and expand the folder that contains the solution or project that you want.

  4. Select the solution (.sln) or project (.csproj or .vbproj) file, and then click Open.

    If the solution or project is bound, you can right-click items in the Project panel to see the source control actions that you can take, such as Check Out, Get Latest Version, and View History for This Item.

    Note

    If a solution, project, or file is bound, it can use source control functionality from inside either Microsoft Visual Studio or Microsoft Expression Blend because the files contain Team Foundation data. For more information, see the "Team Foundation support in Expression Blend" section in Working with Team Foundation source control.

    The source control status of each file is represented by an icon next to the file name.

    Icons that indicate which files are checked in to and out of source control

    Ee341462.af179ad1-6dd6-4844-a5b3-e38fe1125123(en-us,Expression.40).png

    If the solution, project, or file is not bound, you can still work on it in Microsoft Expression Blend, but you will have to use Microsoft Visual Studio Team System 2010 Team Explorer or Visual Studio Team System 2010 to check the files out and in. For information about binding in source control, see How to: Bind and Unbind Projects and Solutions Ee341462.xtlink_newWindow(en-us,Expression.40).png on MSDN.

See also

Tasks

Check files in and out

Concepts

Add a solution to source control
Working with Team Foundation source control

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.