0
我的目录内HelloNAnt.build文件:NAnt构建Error--嵌套构建失败
D:\third party components\nant\WhatThis
我的恶性exe文件被放置在
C:\Program Files\nant
所以我cd到D:\third party components\nant\WhatThis
,键入下面的命令行:
"C:\Program Files\nant\bin\nant.exe" HelloNAnt.build
我得到一个编译失败的错误,说目标HelloNAnt.build
不存在这个项目。
究竟发生了什么问题?
的HelloNAnt.build
内容:
<?xml version="1.0"?>
<project name="Hello World" default="hello">
<target name="hello">
<echo>Hello</echo>
</target>
</project>