我收到以下 nant 脚本的以下错误,有人可以帮忙:(
错误是:不支持嵌套的构建元素“引用”。
请找到以下代码:
<?xml version="1.0"?>
<project name="NAnt Examples" default="build">
<target name="*">
<nant target="${target::get-current-target()}">
<buildfiles>
<include name="**/*.build" />
<references>
<include name="C:/Program Files/NAnt/examples/Microsoft.Practices.EnterpriseLibrary.Common.dll" />
</references>
<!-- avoid recursive execution of current build file -->
<exclude name="${project::get-buildfile-path()}" />
<exclude name="ScriptTask/script-sample.build" />
<exclude name="Solution/**/*.build"/>
</buildfiles>
</nant>
</target>
</project>