Saturday, February 19, 2011

Nant on Windows Vista 64

Hi

I was wondering if anyone has successfully ran Nant on Windows Vista 64 bit version. It keeps failing with

set-props:

[sysinfo] Setting system information properties under sys.*

BUILD FAILED

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

Thanks.

From stackoverflow
  • Yes, it works. NAnt is by default built for 32-bit. Therefore, one has to remember to run this in a 32-bit command prompt or PowerShell. I run NAnt scripts out of PowerShell (x86) mode on a Vista 64 machine, but an SDK prompt (32-bit) would works as well.

  • It also has worked well for me. I do run as Scott said in a 32bit command prompt.

    It could also be just a specific thing you are trying to capture that nAnt is not expecting.

0 comments:

Post a Comment