문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top