Skip to content

Commit 09ef78f

Browse files
authored
Mark the SDK as torn only if MSBuild is older (dotnet#42388)
1 parent df27cbb commit 09ef78f

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
@@ -1277,7 +1277,7 @@ Copyright (c) .NET Foundation. All rights reserved.
12771277
<MinimumMSBuildVersion>$(MinimumMSBuildVersion)</MinimumMSBuildVersion>
12781278
<BundledMSBuildVersion>$(BundledMSBuildVersion)</BundledMSBuildVersion>
12791279
<_MSBuildVersionMajorMinor>%24([System.Version]::Parse('%24(MSBuildVersion)').ToString(2))</_MSBuildVersionMajorMinor>
1280-
<_IsDisjointMSBuildVersion>%24([MSBuild]::VersionNotEquals('%24(_MSBuildVersionMajorMinor)', '$(_BundledMSBuildVersionMajorMinor)'))</_IsDisjointMSBuildVersion>
1280+
<_IsDisjointMSBuildVersion>%24([MSBuild]::VersionLessThan('%24(_MSBuildVersionMajorMinor)', '$(_BundledMSBuildVersionMajorMinor)'))</_IsDisjointMSBuildVersion>
12811281
</PropertyGroup>
12821282
</Project>
12831283
]]>

0 commit comments

Comments
 (0)