How do you use MSBuild less than / greater than conditions?
-
03-12-2019 - |
Pergunta
How do you do less than or greater than in MSBuild conditions? I've tried the following variations both with and without single quotes surrounding the values, but no dice
<PropertyGroup Condition="$(Var1) > 50">
<PropertyGroup Condition="$(Var1) > 50">
Can someone please tell me what I'm missing?
Thanks
Solução
To encode greater than use >
To encode less than use <
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow