在64位windows 7中使用NAnt 打包DNN 模块出现下面的问题

Buildfile: file:///D:/DNN/Dev/DesktopModules/AboutDNN_JQueryImageRotator/Jir.Bui
ld
Target framework: Microsoft .NET Framework 3.5
Target(s) specified: BuildAndZip


init:

  [sysinfo] Setting system information properties under sys.*

BUILD FAILED

Property name 'sys.env.CommonProgramFiles(x86)' is invalid.

Total time: 0.1 seconds.

 

这是NAnt 0.90的一个bug,解决办法:

打开build文件,

找到

<sysinfo />

改为:

<sysinfo failonerror="false"/>

posted on 2011-06-03 15:26  m2land  阅读(705)  评论(1编辑  收藏  举报

导航