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.
-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
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.
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,