以下の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>