Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 81bc01a

Browse files
authored
Merge pull request #13638 from dotnet/joeloff/BackportUpgrade-2.1.8xx
Backport upgrade behavior to 2.1.8xx
2 parents 8d94b42 + ea8fc27 commit 81bc01a

File tree

3 files changed

+52
-2
lines changed

3 files changed

+52
-2
lines changed

build/Version.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<PropertyGroup>
33
<VersionMajor>2</VersionMajor>
44
<VersionMinor>1</VersionMinor>
5-
<VersionPatch>812</VersionPatch>
5+
<FeatureBand>800</FeatureBand>
6+
<PatchLevel>12</PatchLevel>
7+
<VersionPatch>$([MSBuild]::Add($(FeatureBand),$(PatchLevel)))</VersionPatch>
68
<ReleaseSuffix Condition=" '$(ReleaseSuffix)' == '' ">preview</ReleaseSuffix>
79

810
<MajorMinorVersion>$(VersionMajor).$(VersionMinor)</MajorMinorVersion>

build/package/Installer.MSI.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
PropertyName="MSBuildExtensionsInstallerUpgradeCode" />
7070
</GenerateGuidFromName>
7171

72-
<GenerateGuidFromName Name="$(CombinedFrameworkSdkHostInstallerFile)">
72+
<GenerateGuidFromName Name="$(ArtifactNameCombinedHostHostFxrFrameworkSdk);$(VersionMajor);$(VersionMinor);$(FeatureBand);$(Architecture)">
7373
<Output TaskParameter="OutputGuid"
7474
PropertyName="CombinedFrameworkSDKHostInstallerUpgradeCode" />
7575
</GenerateGuidFromName>

packaging/windows/clisdk/bundle.wxs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,54 @@
2020
<PayloadGroupRef Id="DotnetCoreBAPayloads" />
2121
</BootstrapperApplicationRef>
2222

23+
<?if $(var.Platform)=x86?>
24+
<!--'Microsoft .NET Core SDK 2.1.811 (x86)'-->
25+
<RelatedBundle Id="{CE805130-502E-73A8-317A-659885E6028D}" Action="Upgrade" />
26+
<!--'Microsoft .NET Core SDK 2.1.810 (x86)'-->
27+
<RelatedBundle Id="{0C34DE9A-5AA3-662A-4D9C-C64E4AE45F87}" Action="Upgrade" />
28+
<!--'Microsoft .NET Core SDK 2.1.809 (x86)'-->
29+
<RelatedBundle Id="{C7007D29-53FB-731A-CCBF-1D6525CC1641}" Action="Upgrade" />
30+
<!--'Microsoft .NET Core SDK 2.1.808 (x86)'-->
31+
<RelatedBundle Id="{932F153F-5D98-5A84-F546-9A3945694668}" Action="Upgrade" />
32+
<!--'Microsoft .NET Core SDK 2.1.807 (x86)'-->
33+
<RelatedBundle Id="{8CE883E5-5E75-6DAF-A7AE-DE0D5DDDAA9E}" Action="Upgrade" />
34+
<!--'Microsoft .NET Core SDK 2.1.806 (x86)'-->
35+
<RelatedBundle Id="{992E1C4C-5230-48D7-D0A3-A8A946EAC924}" Action="Upgrade" />
36+
<!--'Microsoft .NET Core SDK 2.1.805 (x86)'-->
37+
<RelatedBundle Id="{27C497AF-5E7F-7D82-4114-393A8AF0C843}" Action="Upgrade" />
38+
<!--'Microsoft .NET Core SDK 2.1.804 (x86)'-->
39+
<RelatedBundle Id="{6D275502-5E73-55ED-FEC6-F998C10085D2}" Action="Upgrade" />
40+
<!--'Microsoft .NET Core SDK 2.1.803 (x86)'-->
41+
<RelatedBundle Id="{FEF66934-5663-564A-6A3C-8FDBD031F925}" Action="Upgrade" />
42+
<!--'Microsoft .NET Core SDK 2.1.802 (x86)'-->
43+
<RelatedBundle Id="{7928CBC8-57DC-7012-D7F7-80EE3258B0CA}" Action="Upgrade" />
44+
<!--'Microsoft .NET Core SDK 2.1.801 (x86)'-->
45+
<RelatedBundle Id="{5BC19DE0-5BEC-645D-D002-7E2A79982C14}" Action="Upgrade" />
46+
<?elseif $(var.Platform)=x64?>
47+
<!--'Microsoft .NET Core SDK 2.1.811 (x64)'-->
48+
<RelatedBundle Id="{D4A9FC91-5BC6-4603-378A-A4795A4C7C61}" Action="Upgrade" />
49+
<!--'Microsoft .NET Core SDK 2.1.810 (x64)'-->
50+
<RelatedBundle Id="{E203F8E9-5670-690C-C89B-879A79F21A5B}" Action="Upgrade" />
51+
<!--'Microsoft .NET Core SDK 2.1.809 (x64)'-->
52+
<RelatedBundle Id="{DA0B1C91-5D48-621A-C9B6-0AD003E56CF6}" Action="Upgrade" />
53+
<!--'Microsoft .NET Core SDK 2.1.808 (x64)'-->
54+
<RelatedBundle Id="{7C1359B6-531A-4038-F945-8A31976DB880}" Action="Upgrade" />
55+
<!--'Microsoft .NET Core SDK 2.1.807 (x64)'-->
56+
<RelatedBundle Id="{8497182C-551A-6B91-73FA-06D3C3FBAE4F}" Action="Upgrade" />
57+
<!--'Microsoft .NET Core SDK 2.1.806 (x64)'-->
58+
<RelatedBundle Id="{8BA1724E-535C-7F9D-29EF-A86343414F73}" Action="Upgrade" />
59+
<!--'Microsoft .NET Core SDK 2.1.805 (x64)'-->
60+
<RelatedBundle Id="{3659FD6E-51C6-7D23-7D37-58498AB3DCE5}" Action="Upgrade" />
61+
<!--'Microsoft .NET Core SDK 2.1.804 (x64)'-->
62+
<RelatedBundle Id="{98738865-595B-49E2-1270-ECD310F6C41A}" Action="Upgrade" />
63+
<!--'Microsoft .NET Core SDK 2.1.803 (x64)'-->
64+
<RelatedBundle Id="{13D98B2D-54B7-7D00-C847-6E53928EE313}" Action="Upgrade" />
65+
<!--'Microsoft .NET Core SDK 2.1.802 (x64)'-->
66+
<RelatedBundle Id="{1837E029-53C8-5CE1-F867-8F57512225F5}" Action="Upgrade" />
67+
<!--'Microsoft .NET Core SDK 2.1.801 (x64)'-->
68+
<RelatedBundle Id="{AFBC4738-53B8-5970-8966-9204B799B703}" Action="Upgrade" />
69+
<?endif?>
70+
2371
<swid:Tag Regid="microsoft.com" InstallPath="[DOTNETHOME]" />
2472

2573
<Variable Name="DOTNETHOME" Type="string" Value="[ProgramFiles6432Folder]dotnet" bal:Overridable="no" />

0 commit comments

Comments
 (0)