Export (0) Print
Expand All

How to: Open a Project or Solution from Source Control

When you open a project or solution from source control, Visual Studio downloads the latest master copy of the item and all files that are contained to the local working folder. After you retrieve a local copy of the item, you do not have to open it from source control again. You can proceed to use the source control commands for your particular source control plug-in.

Caution noteCaution:

If you repeat one of the procedures in this topic, you will create multiple working folders and multiple instances of the files they contain.

To open a project or solution from source control

  1. In Visual Studio, on the File menu, click Open.

  2. Click Project/Solution.

  3. In the Open Project dialog box, select Close Solution if not already selected.

  4. In the left side of the box, click the <source control plug-in name> channel, select the database that contains your project or solutions, and then click Open.

  5. Browse to and select your project (*.*proj) or solution file (*.sln), change the destination folder, and then click Open.

  6. If you already have a local copy of the solution or project you are opening from source control, you can decide to overwrite the local copy of all files and projects in the solution, or keep the local copy. Respond to prompts as needed.

To open a Web project from source control

  1. In Visual Studio, on the File menu, click Open.

  2. Click Web Site.

  3. In the Open Web Site dialog box, click Source Control, and then click Select Source Control Project.

  4. Follow the on-screen instructions to connect to the source control database.

  5. On the Create local project from <source-control plug in> dialog box, type a local path in the Create a new project in the folder box, or click Browse to locate a local folder.

    Select the Web project you want to download from the <plug in name> project to download box, and then click OK. Respond to prompts as needed.

  6. On the Open Web Site dialog box, click Open.

  7. If you already have a local copy of the Web project you are opening from source control, you are prompted to overwrite the local copy of all files and projects in the solution. Respond to prompts as needed.

Community Additions

ADD
Show:
© 2014 Microsoft