Compare against DefaultPlatformToolset version number (#2186)
This commit is contained in:
parent
4a3aab54d3
commit
c9229309af
|
@ -2,8 +2,8 @@
|
|||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup Label="Configuration">
|
||||
<PlatformToolset Condition="'$(DefaultPlatformToolset)'!='' AND '$(DefaultPlatformToolset)'!='v142'">$(DefaultPlatformToolset)_xp</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(DefaultPlatformToolset)'=='v142'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(DefaultPlatformToolset)'!='' AND '$(DefaultPlatformToolset.Substring(1))'<'142'">$(DefaultPlatformToolset)_xp</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(DefaultPlatformToolset.Substring(1))'>='142'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Loading…
Reference in New Issue