DependencyReplicator.xml文件是什么样的?

时间:2009-01-22 13:35:10

标签: tfs build

我正在尝试使用Dependency Replicator http://www.codeplex.com/tfsdepreplicator。没有文档,因此没有我需要的DependencyReplicator.xml文件的示例,以便进一步进行实验。任何人都可以使用Dependency Replicator提供演示.xml文件吗?

1 个答案:

答案 0 :(得分:0)

在buildtype中创建一个DependencyReplication.xml文件并使用如下内容:

<?xml version="1.0" encoding="utf-16"?>
<DependencyReplication  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.readify.net/tfsintegrator/dependencyreplication/20060725">
  <TeamProject TeamProject="AcmeAnvils" RootFolder="$/AcmeAnvils">
    <Dependency TeamProject="AcmeAnvils" BuildType="AcmeAnvilsContinuousBuild" >
      <File Source="Release/AcmeAnvils.Common.dll" Destination="$/AcmeAnvils/AcmeAnvil_Services/AcmeAnvils.Common.dll" />
      <File Source="Release/AcmeAnvils.Common.dll" Destination="$/AcmeAnvils/Dogfood/Dependencies/AcmeAnvils.Common.dll" />
    </Dependency>
  </TeamProject>  
</DependencyReplication>