[英]How to copy a team project from one collection to another with TFS Integration Platform, TFS2012 to TFS2012
I've downloaded the latest TFS Integration Platform from CodePlex and attempted to migrate "one way" between an existing team project MyProject
in CollectionA
on the left and an empty team project MyProject
in CollectionB
on the right using the provided "source control and work item" template. 我从CodePlex下载了最新的TFS集成平台,尝试使用提供的“源代码控制和工作项”在左侧的CollectionA
的现有团队项目MyProject
和右侧的CollectionB
的空团队项目MyProject
之间进行“单向”迁移。 “模板。 Whenever I do, it raises a few exceptions about the build templates (I resolve them), and then it displays this wonderful-looking diagram of changesets with bar graphs, and I feel like it's done something. 每当我这样做时,它会引发一些关于构建模板的例外(我解决它们),然后它会用条形图显示这个奇妙的变更集图表,我觉得它已经完成了。 Every time I try this, I look at MyProject
in source control in CollectionB
expecting to see a fully-populated version of the project from CollectionA
. 每次我尝试这个时,我都会在CollectionB
源代码控制中查看MyProject
,期望从CollectionA
看到一个完全填充的项目版本。 Every time, I am disappointed - it's empty and it looks like nothing happened. 每次,我都很失望 - 它是空的,看起来什么也没发生。
By the way, I am try to move the project from between collections on the same TFS 2012 server. 顺便说一句,我试图从同一个TFS 2012服务器上的集合之间移动项目。
Am I misunderstanding the point of Integration Platform? 我是否误解了集成平台的观点? Or does it just not actually work with TFS 2012? 或者它实际上不适用于TFS 2012?
Okay, here's how I did it. 好的,我就是这样做的。
Suppose I am trying to copy a project MyProject
from SourceCollection
to TargetCollection
. 假设我正在尝试将项目MyProject
从SourceCollection
复制到TargetCollection
。
MyProject
in TargetCollection
在TargetCollection
创建一个新项目MyProject
MyProject
in SourceCollection
在SourceCollection
选择现有项目MyProject
MyProject
in TargetCollection
在TargetCollection
选择新项目MyProject
src/
and test/
under the root, you must include these as $/MyProject/src
and $/MyProject/test
. 例如,如果在根目录下有src/
和test/
文件夹,则必须将它们包含在$/MyProject/src
和$/MyProject/test
。 Ensure that you also create those folders in MyProject
in TargetCollection
. 确保您还在TargetCollection
中的MyProject
中创建这些文件夹。 You are done. 你完成了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.