进行移植的机器的软件要求:
.NET Framework 2.0 或 Visual Studio 2005(如果安装VS2005,那么默认就会安装SQL Server 2005 express)
Microsoft SQL Server 2005 express(至少)
Microsoft Visual Studio 2005 Team Explorer
移植的步骤:
在移植之前需要做一些准备。(See Walkthrough: Preparing to Migrate from Visual SourceSafe to Team Foundation)。
将VSS中项目都Check-in。
对于绑定在VSS上的VS2003和VS2005项目需要重新生成解决方案。
将VSS中每个项目都打上label,标记上Migrate。
将VSS所有用户都定义为Read-only.
Archive
开始Migrate
检查Migration日志
比较
将TFS每个项目打上label,标记上Migrate。
配置文件例子:
Tips:
当双击TFS中SourceControl以后应该可以看到树型的项目结构,在点击树节点时如果提示“No Commands Available”。那么需要做下面的设置修改。
Tool --> Options --> Source Control --> Change from None to Visual Studio Team Foundation Server.
局限:
Visual SourceSafe Converter Limitations
http://msdn2.microsoft.com/en-us/library/ms252491(VS.80).aspx
还有,项目中的具体权限需要重新设定,用户映射的XML文件的作用只是将VSS中用户处理的记录信息根据映射文件进行更新,对于权限没有设定的作用。
例如,VSS中UserA对某一个文件进行了修改,但是在用户映射文件中将UserA映射为UserB,那么Migrate结束以后TFS中这个文件的修改者就为UserB。
参考链接:
Migrating from Visual SourceSafe to Team Foundation
http://msdn2.microsoft.com/en-us/library/ms253060(VS.80).aspx
Walkthrough: Preparing to Migrate from Visual SourceSafe to Team Foundation
http://msdn2.microsoft.com/en-us/library/ms181246(VS.80).aspx
How to: Edit the Source Control Migration User Mapping File
http://msdn2.microsoft.com/en-us/library/ms253175(VS.80).aspx
How to: Create a Team Project
http://msdn2.microsoft.com/en-us/library/ms181477(VS.80).aspx
How to: Migrate a Partial History Using Archives in Visual SourceSafe
http://msdn2.microsoft.com/en-us/library/ms253105(VS.80).aspx
Walkthrough: Migrating from Visual SourceSafe to Team Foundation
http://msdn2.microsoft.com/en-us/library/ms181247(VS.80).aspx
http://search.microsoft.com/results.aspx?q=how+to+migrate+history+TFS+VSS&qsc0=0&SearchBtn0=Search&FORM=QBME1&l=1&mkt=en-US&PageType=99
how to migrate history TFS VSS
http://msdn2.microsoft.com/en-us/library/ms253105(VS.80).aspx
How to: Migrate a Partial History Using Archives in Visual SourceSafe
http://msdn2.microsoft.com/en-us/library/ms181247(VS.80).aspx
Walkthrough: Migrating from Visual SourceSafe to Team Foundation
http://msdn2.microsoft.com/en-us/library/ms181246(VS.80).aspx
Walkthrough: Preparing to Migrate from Visual SourceSafe to Team Foundation