Knowledgebase

Search:     Advanced search

Upgrading the Surround SCM Visual Studio Integration

Article ID: 763  |  Last updated: 23 Dec, 2014

To upgrade Visual C++ solutions with multiple projects from Visual Studio 2008 to 2010 when using the Surround SCM integration, complete the following steps:

  1. Make sure the upgrade requirements are met.
  2. In Visual Studio 2008, unbind the solution and all projects from source control.
  3. In Visual Studio 2010, enable the Surround SCM Visual Studio integration package.
  4. Connect Visual Studio 2010 to Surround SCM.
  5. Rebind the projects to source control and check them in to Surround SCM.
  6. Rebind the solution file to source control.

Requirements

The following must be installed before you upgrade the solution and integration.

  • Visual Studio 2008 and 2010
  • Surround SCM 2011.0.1 or later
  • Visual Studio .NET 2005, 2008, and 2010 integration package (installed with the Surround SCM Client)

Unbind the solution and projects from source control

  1. Open the solution in Visual Studio 2008.
  2. Right-click the solution file and choose Check Out to check out the entire solution.
  3. Choose File > Source Control > Change Source Control. The Change Source Control dialog box opens.
  4. Ctrl+click the solution and all projects you want to upgrade and click Unbind. You are prompted to confirm the unbinding.
  5. Click Unbind.
  6. After all projects are unbound, click OK to close the Change Source Control dialog box.
  7. Click Save All to save the changes and then close Visual Studio 2008.

Enable the integration package

  1. Start Visual Studio 2010.
  2. Choose Tools > Options. The Options dialog box opens.
  3. Click the Source Control category and select Plug-in Selection.
  4. Make sure Surround SCM Integration Provider is set as the source control plug-in.
    Note: Do not select Surround SCM. If Surround SCM Integration Provider is not listed, rerun the Surround SCM installer and select the Install the Visual Studio .NET 2005, 2008, and 2010 integration package option.

Connect Visual Studio to Surround SCM

  1. Choose File > Surround SCM > Bind/Unbind Settings. The Surround SCM Connection Settings dialog box opens.
  2. Ctrl+click the solution file and all project files and then click Connect. You may be prompted to enter your Surround SCM username and password.

Rebind projects

Note: Only bind one project at a time. Do not bind the solution so you can synchronize the projects with Surround SCM first.

  1. In the Surround SCM Connection Settings dialog box, select a project and click Bind. You are prompted to confirm the branch and repository to bind the project to.
  2. Click Yes.
  3. Repeat steps 1 and 2 for all other projects.
  4. After all projects are bound, click Save All and then close Visual Studio 2010.
  5. Start Surround SCM and recursively check in all project files.
  6. Add all the new .vxcproj and .vcxproj.filters files to the corresponding repositories. You may want to diff repositories to make sure they are synchronized with your local working directories.

Rebind the solution

  1. In Surround SCM, check out the solution file.
  2. Start Visual Studio 2010.
  3. Choose File > Surround SCM > Bind/Unbind Settings. The Surround SCM Connection Settings dialog box opens.
  4. Select the solution file and click Bind. You are prompted to confirm the branch and repository to bind the solution to.
  5. Click Yes.
  6. After the solution is bound, right-click it and choose Check In. The solution and all projects are upgraded to Visual Studio 2010 and under source control.
Article ID: 763  |   Last updated: 23 Dec, 2014
Tags
Visual Studio

Prev   Next
Surround SCM IntelliJ IDEA and WebStorm Integration     Limited Unicode Support with Visual Studio