Skip to content

Commit e55554d

Browse files
committed
Ensure VCToolsVersion is not empty
1 parent 49670ee commit e55554d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PCbuild/pyproject.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
2222
</PropertyGroup>
2323

24-
<PropertyGroup Label="MSVC Bug Workarounds">
24+
<PropertyGroup Label="MSVC Bug Workarounds" Condition="$(VCToolsVersion) != ''">
2525
<_VCToolsVersion>$([System.Version]::Parse(`$(VCToolsVersion)`).Major).$([System.Version]::Parse(`$(VCToolsVersion)`).Minor)</_VCToolsVersion>
2626

2727
<!-- See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-ARM64-co/10224361 -->

0 commit comments

Comments
 (0)