Skip to content

Commit

Permalink
use stage 2 MSBuild version instead of stage 0 for msbuild disjoint c… (
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpopMSFT authored Aug 6, 2024
2 parents 0fe3fbd + 0d87bb2 commit 749beb4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,9 @@ Copyright (c) .NET Foundation. All rights reserved.
<PropertyGroup>
<MinimumMSBuildVersionFile>$(RedistLayoutPath)sdk/$(Version)/minimumMSBuildVersion</MinimumMSBuildVersionFile>
<BundledMSBuildPropsFileName>Microsoft.NETCoreSdk.BundledMSBuildInformation.props</BundledMSBuildPropsFileName>
<BundledMSBuildVersion>$(MSBuildVersion)</BundledMSBuildVersion>
<_ShippingMSBuildVersion>$(MicrosoftBuildVersion)</_ShippingMSBuildVersion>
<_ShippingMSBuildVersion Condition="$(_ShippingMSBuildVersion.Contains('-'))">$(MicrosoftBuildVersion.Split('-')[0])</_ShippingMSBuildVersion>
<BundledMSBuildVersion>$(_ShippingMSBuildVersion)</BundledMSBuildVersion>
</PropertyGroup>

<Error Text="No MSBuild version file found under '$(RedistLayoutPath)sdk/$(Version)'" Condition="!Exists('$(MinimumMSBuildVersionFile)')" />
Expand Down

0 comments on commit 749beb4

Please sign in to comment.