Andrew Horner, one of our Sales Engineers, was recently on-site with a customer that purchased Surround SCM, and had a large amount of source code which they wanted to import into Surround SCM from another tool. The customer had also been using a source code plug-in that allowed them to perform source code control (SCC) actions from within Visual Studio. Surround SCM has a similar plug-in that allows you to perform all of the standard SCC actions as well as other actions specific to Surround SCM, such as attaching source code changes to an item inTestTrack Pro.

In this post, Andrew explains how to bind to Surround SCM as the source code provider for an existing project. This example uses one of our sample Visual Studio solutions, Bug Reporter, that is currently bound with Visual SourceSafe, and shows you how to change the binding from Visual SourceSafe to Surround SCM Integration Provider. If you’re converting from another source code management tool, the steps will be similar.

Before getting started, make sure the following are installed:

  • Visual SourceSafe
  • Visual Studio (2005 or later)
  • Surround SCM Client
  • Surround SCM’s Visual Studio 2005, 2008, and 2010 plug-in

If you do not have the Surround SCM Client and/or plug-in installed, you can download the client installer here:http://downloads.seapine.com/pub/upgrades/sscmwininstallclient.exe

You’ll also need to make sure a mainline branch has been created in Surround SCM.

IMPORTANT: Make sure that any changes you have made to the files in Visual SourceSafe are checked in before performing the following steps and you have the latest version or your project and files on your machine.

Unbinding the solution and projects

1. Open the existing solution in Visual Studio. You should see lock icons next to each item, indicating the solution is bound to Visual SourceSafe and not currently checked out.

Figure 1: Solution bound to Visual SourceSafe

2. In Visual Studio, select File > Source Control > Change Source Control.

3. Select the solution in the list and click  “Unbind”.

Figure 2: Unbind the solution

4. Click “Unbind” to confirm that you want to unbind the solution.

Figure 3: Unbind confirmation message

5. Select the project in the Change Source Control window and click “Unbind”.

6. Click “Unbind” to confirm that you want to unbind the project.

7. Repeat steps 5 and 6 until all projects in the solution have been unbound.

8. After all projects have been unbound, click “OK” in the Change Source Control window.

Binding to Surround SCM

1. In Visual Studio, select Tools > Options.

2. In the Options window, click the Source Control tab on the left.

3. Change the current source control plug-in from Visual SourceSafe to Surround SCM Integration Provider and click “OK”.

Figure 4: Change provider

4. In Visual Studio, select File > Surround SCM > Bind/Unbind Settings…

5. Select the solution in the list window and click “Connect”. If you’re prompted to log in to Surround SCM, enter your username and password, then click “Connect”.

6. Select the solution in the list window again and click “Bind”. The Surround SCM Repository Browser: Open for Solution window opens.

7. Select the branch and the repository that you want to add the solution to, then click “Create Repository”.

Figure 5: Create solution repository

8. Enter a repository name and working directory for the new repository. The working directory should be set to the directory where the solution file resides. For example:

Figure 6: Enter repository name and working directory

9. Click “OK” in the Create Repository dialog.

10. Click “OK” in the Repository Browser window.

11. Select the project in the Surround SCM Connection Settings window and click “Bind”.

12. Click “OK” in the Repository Browser window.

13. Select the same branch as before and the repository that contains the solution file, then click “Create Repository”.

Figure 7: Create project repository

14. Enter the name for the new repository and the working directory path, which should be set to the directory where the project resides, and click “OK”.

Tip: By default, the Surround SCM plug-in selects the working directory as a sub-directory of the parent working directory. If your project isn’t in the default path, select and then deselect “Inherit working directory from parent”, which will allow you to edit the working directory path.

Figure 8: Create repository

15. Once the solution and all the projects have been bound, click “OK” to save your changes.

16. Right-click the solution file in the Solution Explorer window and select “Add to Surround SCM”.

17. Verify the binding information and click “Yes” to bind to the specified location.

Figure 9: Bind confirmation

Your solution has now been bound and added to Surround SCM.

Changing Project Binding to Surround SCM Integration Provider with Visual Studio 2010的更多相关文章

  1. Shortcut Collapse project or projects in the Solution Explorer Microsoft Visual Studio 2008

    The standard windows keyboard shortcuts for expanding and collapsing treeviews are: Numeric Keypad * ...

  2. [转]List of Visual Studio Project Type GUIDs

    本文转自:http://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs There isn' ...

  3. Solve: Your project references the latest version of Entity Framework (for MySQL) in Visual Studio 2013

    The error message while trying to create a ADO.net Entity Data Model ( Entity Framework 6 ) for MySq ...

  4. visual studio中csproj文件中的project guid改为小写

    安装了vs2019之后,发现有的项目中引用的其他项目的源码,但是无法识别了. 最后发现是因为project guid是大写导致的. https://stackoverflow.com/question ...

  5. Continuous Integration for iOS Apps with Visual Studio Team Services

    原文引用自:https://blog.xamarin.com/continuous-integration-for-ios-apps-with-visual-studio-team-services/ ...

  6. Conditional project or library reference in Visual Studio

    Conditional project or library reference in Visual Studio In case you were wondering why you haven’t ...

  7. 将 project.json 项目转换为 Visual Studio 2015 解决方案

    var appInsights=window.appInsights||function(config){ function r(config){t[config]=function(){var i= ...

  8. How to create a project with existing folder of files in Visual Studio?

    1. Select Visual Studio tool bar-> New -> Project from existing code-> continue with config ...

  9. Binding to the Most Recent Visual Studio Libraries--说的很详细,很清楚

    Every version of Visual Studio comes with certain versions of the Microsoft libraries, such as the C ...

随机推荐

  1. [stm32] 中断

    #include "stm32f10x.h" #include "stm32f10x_tim.h" #include "misc.h" #i ...

  2. CentOS Minimal版最小化安装后VMware联网详解

    最近想搞个mailman邮件列表,又不想在我常用的CentOS 6.4上做实验,怕破坏了环境,于是就想装个试验机,又嫌它占空间太大,于是找了半天发现CentOS 6.0的minimal版本最适合了,装 ...

  3. java基础类和对象-题

    1.创建一个三角形类,成员变量三边,方法求周长,创建类主类A来测试它. public class Sanjiaoxing { //定义属性 private int a; private int b; ...

  4. iOS----友盟分享完善版本

    分享 详细集成 注意:1.线上集成文档的示例代码对应的是最新版本的SDK,如果你所用的SDK版本类名或者方法名与此文档不符合,请看随包里面的线下文档或者下载使用最新版本的SDK. 设置友盟appkey ...

  5. 从零开始学Bootstrap(3)

    首先让我们回顾一下系列内容. 从零开始学Bootstrap(1)介绍了BootStrap最简单的模板,逐条解释了每行代码的含义. 从零开始学Bootstrap(2)强调了边学边做,通过实际的例子,讲解 ...

  6. Python:如何显示进度条

    首先,推荐一个组件:progressive 效果如下: 进度条和一般的print区别在哪里呢? 答案就是print会输出一个\n,也就是换行符,这样光标移动到了下一行行首,接着输出,之前已经通过std ...

  7. AutoCAD2007专业版

    07版的AutoCAD应该是一个很经典的版本了,点此下载,附带破解注册机和天正的插件包,可以查看天正软件画的图纸. AutoCAD2007本身没有标签工具,切换窗口很不方便,如果能配合多标签插件Doc ...

  8. Undokumentierte @Formeln/LotusScript im Lotus Notes Client/Server

    Erstellung von Replik-IDs mittels @Text-Funktion@Text( @Now; "*" )Source NoPersist option ...

  9. Java 多线程(1)-Thread和Runnable

    一提到Java多线程,首先想到的是Thread继承和Runnable的接口实现 Thread继承 public class MyThread extends Thread { public void ...

  10. Nodejs npm安装socket.io报错解决办法

    安装socket.io时,报错,提示需要安装Microsoft visual studio 2005 或 Net framework 2.0 sdk,没有找到vcbuild.exe,解决办法是安装 . ...