Skip to content

Commit 0a7310d

Browse files
authored
Adjust tools version for folks running on 2022 (#11266)
Adjust tools version for folks running on 2022 ## PR Checklist * [x] Closes annoyance that @lhecker and I have selfhosting VS2022 * [x] I work here * [x] Solution built * [x] @DHowett said something like "lol sure" in Teams.
1 parent d08afc4 commit 0a7310d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common.build.pre.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383

8484
<!-- For ALL build types-->
8585
<PropertyGroup Label="Configuration">
86-
<PlatformToolset>v142</PlatformToolset>
86+
<PlatformToolset Condition="$(MSBuildVersion) &lt; '17.0.0'">v142</PlatformToolset>
87+
<PlatformToolset Condition="$(MSBuildVersion) &gt;= '17.0.0'">v143</PlatformToolset>
8788
<CharacterSet>Unicode</CharacterSet>
8889
<LinkIncremental>false</LinkIncremental>
8990
<PreferredToolArchitecture>x64</PreferredToolArchitecture>

0 commit comments

Comments
 (0)