coder
coder

Reputation:

Nant on Windows Vista 64

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.

Upvotes: 7

Views: 1609

Answers (3)

Brett Rigby
Brett Rigby

Reputation: 6226

I've been using NAnt on my Windows 7 64 bit environment, and have found that in order to do so (without needing to use a 32bit command environment) is to simply remove the reference in your NAnt scripts to sysinfo.

I have been through our build scripts over and over and cannot see any downside to removing this setting, as I cannot prove that I'm using the result of it anyway, other than to dump lots of data to the screen which is invaluable during debugging!!

Hope this helps!

Upvotes: 0

Joshua Cauble
Joshua Cauble

Reputation: 1349

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.

Upvotes: 2

Scott Saad
Scott Saad

Reputation: 18372

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.

Upvotes: 4

Related Questions