How to copy a team project from one collection to another with TFS Integration Platform, TFS2012 to TFS2012

家住魔仙堡 提交于 2019-11-30 07:24:14
tacos_tacos_tacos

Okay, here's how I did it.

Suppose I am trying to copy a project MyProject from SourceCollection to TargetCollection.

  1. Create a new project MyProject in TargetCollection
  2. Open TFS Integration Platform
  3. Under Configuration select "Create New"
  4. Open folder "Team Foundation Server" (%ProgramFiles%\Microsoft Team Foundation Server Integration Tools\Configurations\Team Foundation Server)
  5. Select "VersionControl.xml" or "VersionControlAndWorkItemTracking.xml" if you need it (if you choose to include WorkItem tracking as well ensure the account you started TFS Integration is a user which is in the "Team Foundation Service Accounts" TFS Global Group)
  6. Workflow type: Custom / Frequency: One-time / Direction: Unidirectional / Sync context: disabled (your selection may differ)
  7. Left source: "TFS 11 Migration VC Provider"
  8. Pick the existing project MyProject in SourceCollection
  9. Right source: "TFS 11 Migration VC Provider"
  10. Pick the new project MyProject in TargetCollection
  11. Important: you must include any folders (paths) under the root explicitly and individually in the folders list. Just using $/ or $/MyProject will not work. For example, if you have folders src/ and test/ under the root, you must include these as $/MyProject/src and $/MyProject/test. Ensure that you also create those folders in MyProject in TargetCollection.
  12. Save to database
  13. Start migration
  14. Handle any exceptions

You are done.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!