如何从另一个构建文件执行nant构建文件?

我有一个很大的项目,我创建了一些构建文件,我在不同的场景中使用,包括ccnet。所以,我有BF1.build和BF2.build 我只是想在BF1中某处从BF2.build调用/执行脚本     
已邀请:
你可以删除它。刚刚找到了解决方案:
<target name="somename" >

<nant>
    <buildfiles>
        <include name="BF2.build" />
    </buildfiles>
</nant>  </target>
NAnt docs     

要回复问题请先登录注册