使用VSSConverter从VSS 2005迁移到TFS 2010-缺少说明

If you have have been using Visual Studio 2008 with VSS and are now migrating to Visual Studio 2010 and Team Foundation Server, you may need to migrate your VSS data to TFS.  Microsoft has made VS 2010 TFS available to VS2008 with MSDN subscribers and advised that TFS is the replacement for VSS.  There is a TFS "basic" configuration that is suitable for use by individuals and small teams that do not need all the features of TFS 2010, and TFS performance can be much better than VSS, so this is a good thing.

如果您一直在使用带有VSS的Visual Studio 2008,并且现在要迁移到Visual Studio 2010和Team Foundation Server,则可能需要将VSS数据迁移到TFS。 Microsoft已通过MSDN订户向VS2008提供了VS 2010 TFS,并建议TFS替代VSS。 有一个TFS“基本”配置,适合不需要TFS 2010所有功能的个人和小型团队使用,并且TFS性能可以比VSS好得多,因此这是一件好事。

The problem I ran into is that I couldn't find complete instructions about how to do the migration.  It turned out that all of the instructions I found by searching were for earlier versions of TFS.  I used this article:

我遇到的问题是我找不到有关如何进行迁移的完整说明。 原来,我通过搜索发现的所有指令都是针对TFS的早期版本的。 我用了这篇文章:

      Walkthrough: Migrating from Visual SourceSafe to Team Foundation

演练:从Visual SourceSafe迁移到Team Foundation

http://msdn.microsoft.com/en-us/library/ms181247(VS.80).aspx http://msdn.microsoft.com/zh-CN/library/ms181247(VS.80).aspx

which is apparently for the original TFS (2005) release.

这显然是针对原始TFS(2005)版本的。

Actually, the instructions seem to be fine except for one small detail -- when you add the <Settings> element to ConversionSettings.xml there is one additional (and seemingly undocumented) attribute that TFS requres. The old format was

实际上,除了一个小细节外,这些说明似乎还不错-当您将<Settings>元素添加到ConversionSettings.xml时,TFS需要另外一个(似乎没有记载)属性。 旧格式为

<Settings>

<设置>

    <TeamFoundationServer name="server_name" port="port_number" protocol="protocol"></TeamFoundationServer>

<TeamFoundationServer name =“

</Settings>

</设置>

The new (and correct) format is:

新的(正确的)格式为:

<Settings>

<设置>

    <TeamFoundationServer name="server_name" port="port_number" protocol="protocol" collection="virtual_root/collection_name"></TeamFoundationServer>

<TeamFoundationServer name =“ collection =“ > </ TeamFoundationServer>

</Settings>

</设置>

By default the virtual_root/collection_name would be "tfs/DefaultCollection".  Once I added that attribute, everything else went well. My final <Settings> element looked like

默认情况下,virtual_root / collection_na 我将是“ tfs / DefaultCollection”。 一旦添加了该属性,其他所有操作都会顺利进行。 我最后的<Settings>元素看起来像

<Settings>
    <TeamFoundationServer name="server_name" port="8080" protocol="http" collection="tfs/DefaultCollection"></TeamFoundationServer>
</Settings>
all of the instructions will save you that extra work. This article shows how to do it:

    How to: Create a Settings File for Source Control Analysis and Migration

如何:创建用于源代码管理分析和迁移的设置文件

http://msdn.microsoft.com/en-us/library/ms253161(v=VS.80).aspx http://msdn.microsoft.com/zh-CN/library/ms253161(v=VS.80).aspx

翻译自: https://www.experts-exchange.com/articles/2961/Migrating-from-VSS-2005-to-TFS-2010-using-VSSConverter-Missing-Instructions.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值