在 TFS 2005/2008 到 TFS 2010 之间,更新了流程模板,在您提到的每个字段的显示名称中添加了一个额外的空格。既然是这种情况,您可以采取一些简单的步骤来解决问题,然后重新运行 OpsHub Visual Studio 在线迁移实用程序。
您将需要使用该witadmin.exe
工具,特别是该changefield
选项。以下是您要更改每个字段的显示名称以包含空格的步骤:
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.RelatedLinkCount /name:"Related Link Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.AreaId /name:"Area ID"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.AttachedFileCount /name:"Attached File Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.HyperLinkCount /name:"Hyperlink Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.ExternalLinkCount /name:"External Link Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.IterationId /name:"Iteration ID"
试一试,我希望它作为一种解决方法对你有用!