Hi Johannes,
(not replying inline: I wish Outlook would be more smart when it comes to
properly indenting the original message)
You'd actually use it like this:
Or you can use it inline:
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,
Hi!
I've been trying to set a property dependent on the OS nant is running
on, but so far I've failed. I can't get this to work:
I always receive "Property evaluation failed." as error message. Can
someone help me?
Thanks in advance,
Johannes
-
Hi Juan Carlos,
Does it work if run the build script directly (with CC.NET) on the same
machine?
Are you sure the mapped drive is available under CC.NET?
Gert
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos
Becerra Irene
Sent: zaterdag 22 december 2007 0