更新:2007 年 11 月
在分析受源代码管理的文件或将其从 Visual SourceSafe 迁移到 Microsoft Visual Studio Team System 之前,可能需要准备 Visual SourceSafe 数据库。
必需的权限
若要执行这些过程,您必须具有对要迁移的 Visual SourceSafe 数据库的管理权限。有关更多信息,请参见 Microsoft 网站上的 How to: Assign Project Rights(如何:分配项目权限)。
准备 Visual SourceSafe 数据库以运行转换器
要准备 Visual SourceSafe 数据库以进行迁移,应签入所有文件,修复所有数据完整性错误,备份数据库并确定要迁移的项目。
| .gif) 说明: | 
|---|
| 在启动迁移之前应安装最新的 Visual SourceSafe 修补程序。有关更多信息,请参见文章 Q950185“FIX: Some items may not be retrieved from the Visual SourceSafe database when you use the VSSConverter.exe tool to migrate from Visual SourceSafe 2005 to Team Foundation Server”(FIX:使用 VSSConverter.exe 工具从 Visual SourceSafe 2005 迁移到 Team Foundation Server 时可能无法从 Visual SourceSafe 数据库中检索某些项)。 | 
准备用户以进行迁移
- 请所有 Visual SourceSafe 数据库用户签入他们的文件。
准备项目以进行迁移
- 在运行转换器的计算机上安装 Visual SourceSafe 2005。默认情况下,安装 Visual Studio 时不安装 Visual SourceSafe 2005。 
- 将 Visual SourceSafe 数据库复制到运行转换器的计算机上的本地文件夹中。尽管可以在远程计算机上的共享文件夹中迁移 Visual SourceSafe 数据库,但这种迁移方式需要较长时间。 
- 如果 Visual SourceSafe 数据库的版本早于 Visual SourceSafe 6.0,请使用 Visual SourceSafe DDUPD 实用工具将它升级到 6.0。有关 DDUPD 实用工具的更多信息,请参见“Visual SourceSafe Reference”(Visual SourceSafe 参考)中的 DDUPD Utility(DDUPD 实用工具)。 
- 修复数据完整性错误。使用 Visual SourceSafe 分析实用工具可以找到数据库中的任何数据完整性问题,如果可能,还可以将其修复。有关分析实用工具的更多信息,请参见“Visual SourceSafe Reference”(Visual SourceSafe 参考)中的 ANALYZE Utility(ANALYZE 实用工具)。