我们的团队最近升级到TeamCity 4.5.4,但TeamCity运行nant构建脚本时遇到了问题。
我们现在收到一条错误消息,上面说:
Invalid element <trycatch>. Unknown task or datatype.
脚本中导致问题的部分如下所示:
<trycatch>
<try>
<ncover>
<snip>this does ncover stuff</snip>
</ncover>
</try>
<catch property="failure">
<echo message="At least one test failed: ${failure}"/>
<property name="fail.message" value="${failure}"/>
<property name="test.failed" value="true"/>
</catch>
</trycatch>
还有其他人经历过这个问题吗?