I have a property right now that looks like this.
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
I now want to add another Condition
in there looking like this:
Condition=" '$(SolutionFileName)' == 'SolutionName.AppNameOne.sln'"
How do I add more than one condition inside this propertygroup?
I found the answer. You use "AND" to use multiple conditions: https://social.msdn.microsoft.com/Forums/vstudio/en-US/dc1f3f61-3aeb-41df-877a-51e300964522/how-to-add-multiple-condition-in-the-condition-statement?forum=msbuild
Example:
Condition = " '$(BuildBreak)'!='true' AND '$(XYZ)' == 'ABC' "
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With