Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use MSBuild less than / greater than conditions?

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) &gt 50">

Can someone please tell me what I'm missing?

Thanks

like image 255
Zain Rizvi Avatar asked Feb 22 '11 00:02

Zain Rizvi


1 Answers

To encode greater than use &gt; To encode less than use &lt;

like image 185
Brian Walker Avatar answered Sep 30 '22 06:09

Brian Walker