Skip to content

Commit e93b53a

Browse files
committed
Migrate the Shared Framework bundle to use the installer SDK (with arcade changes)
1 parent f963fc6 commit e93b53a

File tree

22 files changed

+47
-202
lines changed

22 files changed

+47
-202
lines changed

AspNetCore.sln

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,10 +1588,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonLib", "src\Installers
15881588
EndProject
15891589
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AspNetCoreModule-Setup", "AspNetCoreModule-Setup", "{D30A658D-61F6-444B-9AC7-F66A1A1B86B6}"
15901590
EndProject
1591-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SharedFramework", "SharedFramework", "{31854B06-DC6B-4416-97C3-559CC390B8B4}"
1592-
EndProject
1593-
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SharedFrameworkBundle", "src\Installers\Windows\SharedFrameworkBundle\SharedFrameworkBundle.wixproj", "{D6C54D8B-043F-4877-B751-60E7390F9EC6}"
1594-
EndProject
15951591
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "WindowsHostingBundle", "src\Installers\Windows\WindowsHostingBundle\WindowsHostingBundle.wixproj", "{6F1B115C-1903-40CB-837D-7961AB610F4E}"
15961592
EndProject
15971593
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerComparison.TestSites", "src\Servers\testassets\ServerComparison.TestSites\ServerComparison.TestSites.csproj", "{56DFE643-7F0F-40C8-9F7F-8EA5357781EF}"
@@ -9725,16 +9721,6 @@ Global
97259721
{B54A8F61-60DE-4AD9-87CA-D102F230678E}.Release|x86.ActiveCfg = Release|Win32
97269722
{B54A8F61-60DE-4AD9-87CA-D102F230678E}.Release|x86.Build.0 = Release|Win32
97279723
{B54A8F61-60DE-4AD9-87CA-D102F230678E}.Release|x86.Deploy.0 = Release|Win32
9728-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Debug|Any CPU.ActiveCfg = Debug|arm64
9729-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Debug|arm64.ActiveCfg = Debug|arm64
9730-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Debug|arm64.Build.0 = Debug|arm64
9731-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Debug|x64.ActiveCfg = Debug|arm64
9732-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Debug|x86.ActiveCfg = Debug|arm64
9733-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Release|Any CPU.ActiveCfg = Release|arm64
9734-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Release|arm64.ActiveCfg = Release|arm64
9735-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Release|arm64.Build.0 = Release|arm64
9736-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Release|x64.ActiveCfg = Release|arm64
9737-
{D6C54D8B-043F-4877-B751-60E7390F9EC6}.Release|x86.ActiveCfg = Release|arm64
97389724
{6F1B115C-1903-40CB-837D-7961AB610F4E}.Debug|Any CPU.ActiveCfg = Debug|arm64
97399725
{6F1B115C-1903-40CB-837D-7961AB610F4E}.Debug|arm64.ActiveCfg = Debug|arm64
97409726
{6F1B115C-1903-40CB-837D-7961AB610F4E}.Debug|arm64.Build.0 = Debug|arm64
@@ -11759,8 +11745,6 @@ Global
1175911745
{7324770C-0871-4D73-BE3D-5E2F3E9E1B1E} = {D30A658D-61F6-444B-9AC7-F66A1A1B86B6}
1176011746
{B54A8F61-60DE-4AD9-87CA-D102F230678E} = {D30A658D-61F6-444B-9AC7-F66A1A1B86B6}
1176111747
{D30A658D-61F6-444B-9AC7-F66A1A1B86B6} = {5E46DC83-C39C-4E3A-B242-C064607F4367}
11762-
{31854B06-DC6B-4416-97C3-559CC390B8B4} = {5E46DC83-C39C-4E3A-B242-C064607F4367}
11763-
{D6C54D8B-043F-4877-B751-60E7390F9EC6} = {31854B06-DC6B-4416-97C3-559CC390B8B4}
1176411748
{5244BC49-2568-4701-80A6-EAB8950AB5FA} = {31854B06-DC6B-4416-97C3-559CC390B8B4}
1176511749
{6F1B115C-1903-40CB-837D-7961AB610F4E} = {5E46DC83-C39C-4E3A-B242-C064607F4367}
1176611750
{56DFE643-7F0F-40C8-9F7F-8EA5357781EF} = {3CBC4802-E9B8-48B7-BC8C-B0AFB9EEC643}

eng/Build.props

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-runtime.proj;
121121
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-runtime-composite.proj;
122122
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-base-runtime.proj;
123+
$(RepoRoot)src\Framework\App.Runtime\bundle\aspnetcore-runtime-bundle.bundleproj;
123124
$(RepoRoot)src\Framework\AspNetCoreAnalyzers\test\Microsoft.AspNetCore.App.Analyzers.Test.csproj;
124125
$(RepoRoot)src\Framework\test\Microsoft.AspNetCore.App.UnitTests.csproj;
125126
$(RepoRoot)src\Assets\**\*.*proj;
@@ -241,11 +242,6 @@
241242
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMV2\ANCMV2.wixproj" AdditionalProperties="Platform=x86" />
242243
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMV2\ANCMV2.wixproj" AdditionalProperties="Platform=arm64" />
243244

244-
<!-- Build the SharedFramework installers -->
245-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\SharedFrameworkBundle\SharedFrameworkBundle.wixproj" AdditionalProperties="Platform=x64" />
246-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\SharedFrameworkBundle\SharedFrameworkBundle.wixproj" AdditionalProperties="Platform=x86" />
247-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\SharedFrameworkBundle\SharedFrameworkBundle.wixproj" AdditionalProperties="Platform=arm64" />
248-
249245
<!-- Windows hosting bundle -->
250246
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\WindowsHostingBundle\WindowsHostingBundle.wixproj" AdditionalProperties="Platform=x86" />
251247
</ItemGroup>
@@ -257,8 +253,6 @@
257253
<!-- Build the ANCM msis -->
258254
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMIISExpressV2\AncmIISExpressV2.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
259255
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMV2\ANCMV2.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
260-
<!-- Build the SharedFramework installers -->
261-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\SharedFrameworkBundle\SharedFrameworkBundle.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
262256
</ItemGroup>
263257

264258
<ItemGroup Condition="'$(DotNetBuild)' == 'true' and ('$(DotNetBuildPass)' == '2') and '$(TargetOsName)' == 'win' and '$(TargetArchitecture)' == 'x64'">
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<Project>
2+
<Import Project="Sdk.props" Sdk="Microsoft.Build.NoTargets" />
3+
4+
<PropertyGroup>
5+
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
6+
<BundleInstallerUpgradeCodeSeed>ASP.NET Core Shared Framework Bundle Installer</BundleInstallerUpgradeCodeSeed>
7+
<BundleThemeDirectory>$(MSBuildProjectDirectory)</BundleThemeDirectory>
8+
<!-- <BundleThemeDirectory>E:/runtime/src/installer/pkg/sfx/bundle</BundleThemeDirectory> -->
9+
<InstallerName>aspnetcore-runtime</InstallerName>
10+
<InstallerRuntimeIdentifiers>win-x86;win-x64;win-arm64</InstallerRuntimeIdentifiers>
11+
<RuntimeIdentifier>$(TargetRuntimeIdentifier)</RuntimeIdentifier>
12+
<ProductBrandPrefix>Microsoft ASP.NET Core</ProductBrandPrefix>
13+
<BundleNameSuffix>Runtime</BundleNameSuffix>
14+
15+
<MajorVersion>$(AspNetCoreMajorVersion)</MajorVersion>
16+
<MinorVersion>$(AspNetCoreMinorVersion)</MinorVersion>
17+
<PatchVersion>$(AspNetCorePatchVersion)</PatchVersion>
18+
19+
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
20+
<WixBootstrapperFlavor>HyperlinkLicense</WixBootstrapperFlavor>
21+
</PropertyGroup>
22+
23+
<ItemGroup>
24+
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Installers" Version="$(MicrosoftDotNetBuildTasksInstallersVersion)" />
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<BundleComponentReference Include="$(RepoRoot)/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.sfxproj" />
29+
</ItemGroup>
30+
31+
<Import Project="Sdk.targets" Sdk="Microsoft.Build.NoTargets" />
32+
33+
<PropertyGroup>
34+
<BundleNameShort>Microsoft ASP.NET Core $(PackageBrandingVersion)</BundleNameShort>
35+
<BundleNameSub>Shared Framework</BundleNameSub>
36+
<BundleName>$(BundleNameShort) - $(BundleNameSub) ($(TargetArchitecture))</BundleName>
37+
<BundleNameFull>$(BundleName)</BundleNameFull>
38+
</PropertyGroup>
39+
40+
<ItemGroup>
41+
<WixThemeVariable Include="BundleNameShort" Value="$(BundleNameShort)" />
42+
<WixThemeVariable Include="BundleNameSub" Value="$(BundleNameSub)" />
43+
<WixThemeVariable Include="BundleName" Value="$(BundleName)" />
44+
<WixThemeVariable Include="BundleNameFull" Value="$(BundleNameFull)" />
45+
</ItemGroup>
46+
</Project>
File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1028/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1028/bundle.wxl

File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1029/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1029/bundle.wxl

File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1031/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1031/bundle.wxl

File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1033/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1033/bundle.wxl

File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1036/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1036/bundle.wxl

File renamed without changes.

src/Installers/Windows/SharedFrameworkBundle/1040/thm.wxl renamed to src/Framework/App.Runtime/bundle/theme/1040/bundle.wxl

File renamed without changes.

0 commit comments

Comments
 (0)