Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1eed0b8

Browse files
authored
Fix detection of torn SDK (#41907)
1 parent 9fd3b24 commit 1eed0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Installer/redist-installer/targets/GenerateBundledVersions.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ Copyright (c) .NET Foundation. All rights reserved.
12761276
<MinimumMSBuildVersion>$(MinimumMSBuildVersion)</MinimumMSBuildVersion>
12771277
<BundledMSBuildVersion>$(BundledMSBuildVersion)</BundledMSBuildVersion>
12781278
<_MSBuildVersionMajorMinor>%24([System.Version]::Parse('%24(MSBuildVersion)').ToString(2))</_MSBuildVersionMajorMinor>
1279-
<_IsDisjointMSBuildVersion>%24([MSBuild]::VersionGreaterThan('%24(_MSBuildVersionMajorMinor)', '$(_BundledMSBuildVersionMajorMinor)'))</_IsDisjointMSBuildVersion>
1279+
<_IsDisjointMSBuildVersion>%24([MSBuild]::VersionNotEquals('%24(_MSBuildVersionMajorMinor)', '$(_BundledMSBuildVersionMajorMinor)'))</_IsDisjointMSBuildVersion>
12801280
</PropertyGroup>
12811281
</Project>
12821282
]]>

0 commit comments

Comments
 (0)