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. SSL双向认证java实现(转)

    本文通过模拟场景,介绍SSL双向认证的java实现 默认的情况下,我认为读者已经对SSL原理有一定的了解,所以文章中对SSL的原理,不做详细的介绍. 如果有这个需要,那么通过GOOGLE,可以搜索到很 ...

  2. [Python爬虫] 在Windows下安装PIP+Phantomjs+Selenium

    最近准备深入学习Python相关的爬虫知识了,如果说在使用Python爬取相对正规的网页使用"urllib2 + BeautifulSoup + 正则表达式"就能搞定的话:那么动态 ...

  3. 【UML】类图的几种关系总结

    在UML类图中,常见的有以下几种关系:泛化(Generalization),  实现(Realization),关联(Association),聚合(Aggregation),组合(Compositi ...

  4. HTML+CSS小实战案例

    HTML+CSS小实战案例 登录界面的美化,综合最近所学进行练习 网页设计先布局,搭建好大框架,然后进行填充,完成页面布局 <html> <head> <meta htt ...

  5. js高仿QQ消息列表左滑功能

    该组件,主要功能类似于QQ消息列表左滑出现删除.标为已读等按钮的功能:现在的版本用的是纯javaScript编写:后续会跟进 angularJs 开发的类似组件以及jquery的; 下面,就让我们来认 ...

  6. android: SQLite查询数据

    掌握了查询数据的方法之后,你也就将数据库的 CRUD 操 作全部学完了.不过千万不要因此而放松,因为查询数据也是在 CRUD 中最复杂的一种 操作. 我们都知道 SQL 的全称是 Structured ...

  7. Android平台免Root无侵入AOP框架Dexposed使用详解

    Dexposed是基于久负盛名的开源Xposed框架实现的一个Android平台上功能强大的无侵入式运行时AOP框架. Dexposed的AOP实现是完全非侵入式的,没有使用任何注解处理器,编织器或者 ...

  8. sql 读取本地txt文件批量插入数据库

    --导入 INSERT INTO [netmonsdb].[dbo].[keywordlist]([keyword]) SELECT * FROM OPENROWSET( BULK 'D:/xmsys ...

  9. J2EE Web开发入门—通过action是以传统方式返回JSON数据

    关键字:maven.m2eclipse.JSON.Struts2.Log4j2.tomcat.jdk7.Config Browser Plugin Created by Bob 20131031 l ...

  10. 【组合数学+动态规划】在如下8*6的矩阵中,请计算从A移动到B一共有____种走法。要求每次只能向上或向右移动一格,并且不能经过P。

    在如下8*6的矩阵中,请计算从A移动到B一共有__种走法.要求每次只能向上或向右移动一格,并且不能经过P. A:456 B:492 C:568 D:626 E:680 F:702 解析: 8*6的矩阵 ...