diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2016-09-28 02:43:42 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2016-09-28 02:43:42 +0300 |
commit | 8bd5d9718f10507e5284245d9870928dd61af9dd (patch) | |
tree | a3ccc758879e060e66887e3b0ccb26bc28885b44 /dir.props | |
parent | 88c3920c4c8dfe5a7e06b60f509139731d26467a (diff) |
Always initialize Targets* properties to false
We were hitting some cases where TargetsWindows was set as and
environment variable and caused some of our builds to start failing.
These should never be set outside of the Choose statement based on
OSGroup so we are always defaulting them to false to ensure the enviroment
doesn't end up overriding them.
Diffstat (limited to 'dir.props')
-rw-r--r-- | dir.props | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -230,6 +230,16 @@ </Otherwise> </Choose> + <!-- initialize all the targets variables to false as they should only be set below --> + <PropertyGroup> + <TargetsWindows>false</TargetsWindows> + <TargetsUnix>false</TargetsUnix> + <TargetsLinux>false</TargetsLinux> + <TargetsOSX>false</TargetsOSX> + <TargetsFreeBSD>false</TargetsFreeBSD> + <TargetsNetBSD>false</TargetsNetBSD> + </PropertyGroup> + <!-- Setup properties per OSGroup --> <Choose> <When Condition="'$(OSGroup)'=='AnyOS'"> |