views:

167

answers:

1

Hi,

i have the following code in my build-file:

<Error Text="Some Text" condition="'$(StringName)' != 'Test'/>

It causes an error if the condition is not match. When $(StringName) is 'test' the condition is not met so the error is executed.

How can I change the condition, that 'test' als meets the condition? Is there any upper-case comparision function?

A: 

No, there's not. You'd have to write your own.

Jeremy Stein