Re: [NAnt-users] Help with property needed

2007-12-23 Thread Johannes Luber
half Of Johannes > Luber > Sent: zaterdag 22 december 2007 20:26 > Cc: nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Help with property needed > > Gert Driesen schrieb: >> Hi Johannes, >> >> NAnt will not resolve PlatformID.Unix to its enum value.

Re: [NAnt-users] Help with property needed

2007-12-22 Thread Gert Driesen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Luber Sent: zaterdag 22 december 2007 20:26 Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with property needed Gert Driesen schrieb: > Hi Johannes, > > NAnt will not resolv

Re: [NAnt-users] Help with property needed

2007-12-22 Thread Johannes Luber
Gert Driesen schrieb: > Hi Johannes, > > NAnt will not resolve PlatformID.Unix to its enum value. > > You can use this instead: > > > ${operating-system::get-platform(environment::get-operating-system())=='Unix > '} > > However, this will only work if you're running NAnt on .NET 2.

Re: [NAnt-users] Help with property needed

2007-12-22 Thread Gert Driesen
Hi Johannes, NAnt will not resolve PlatformID.Unix to its enum value. You can use this instead: ${operating-system::get-platform(environment::get-operating-system())=='Unix '} However, this will only work if you're running NAnt on .NET 2.0 and higher (or Mono 2.0 profile). Or,