Add CrossPlatform AppHost Packs; release/3.1.1xx (#4916)
* Add CrossPlatform AppHost Packs for arm & arm64.
This commit is contained in:
parent
9b60152978
commit
76a361bbf8
4 changed files with 63 additions and 4 deletions
|
@ -32,6 +32,8 @@
|
||||||
<RuntimeDepsInstallerFileRid>$(CoreSetupRid)</RuntimeDepsInstallerFileRid>
|
<RuntimeDepsInstallerFileRid>$(CoreSetupRid)</RuntimeDepsInstallerFileRid>
|
||||||
<RuntimeDepsInstallerFileRid Condition=" '$(IsDebianBaseDistro)' == 'true' ">x64</RuntimeDepsInstallerFileRid>
|
<RuntimeDepsInstallerFileRid Condition=" '$(IsDebianBaseDistro)' == 'true' ">x64</RuntimeDepsInstallerFileRid>
|
||||||
|
|
||||||
|
<AlternateArchitecture Condition="'$(Architecture)' == 'x86'">x64</AlternateArchitecture>
|
||||||
|
<AlternateArchitecture Condition="'$(Architecture)' == 'x64'">x86</AlternateArchitecture>
|
||||||
<DownloadedSharedHostInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-host$(InstallerStartSuffix)-$(SharedHostVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedHostInstallerFileName>
|
<DownloadedSharedHostInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-host$(InstallerStartSuffix)-$(SharedHostVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedHostInstallerFileName>
|
||||||
<DownloadedHostFxrInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-hostfxr$(InstallerStartSuffix)-$(HostFxrVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedHostFxrInstallerFileName>
|
<DownloadedHostFxrInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-hostfxr$(InstallerStartSuffix)-$(HostFxrVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedHostFxrInstallerFileName>
|
||||||
<DownloadedSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedFrameworkInstallerFileName>
|
<DownloadedSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedFrameworkInstallerFileName>
|
||||||
|
@ -39,6 +41,9 @@
|
||||||
<DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">windowsdesktop-runtime-$(MicrosoftWindowsDesktopPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName>
|
<DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">windowsdesktop-runtime-$(MicrosoftWindowsDesktopPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName>
|
||||||
<DownloadedNetCoreAppTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-targeting-pack-$(NetCoreAppTargetingPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetCoreAppTargetingPackInstallerFileName>
|
<DownloadedNetCoreAppTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-targeting-pack-$(NetCoreAppTargetingPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetCoreAppTargetingPackInstallerFileName>
|
||||||
<DownloadedNetCoreAppHostPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-apphost-pack-$(NetCoreAppHostPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetCoreAppHostPackInstallerFileName>
|
<DownloadedNetCoreAppHostPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-apphost-pack-$(NetCoreAppHostPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetCoreAppHostPackInstallerFileName>
|
||||||
|
<DownloadedAlternateNetCoreAppHostPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-apphost-pack-$(NetCoreAppHostPackVersion)-$(SharedFrameworkInstallerFileRid)_$(AlternateArchitecture)$(InstallerExtension)</DownloadedAlternateNetCoreAppHostPackInstallerFileName>
|
||||||
|
<DownloadedArmNetCoreAppHostPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-apphost-pack-$(NetCoreAppHostPackVersion)-$(SharedFrameworkInstallerFileRid)_arm$(InstallerExtension)</DownloadedArmNetCoreAppHostPackInstallerFileName>
|
||||||
|
<DownloadedArm64NetCoreAppHostPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-apphost-pack-$(NetCoreAppHostPackVersion)-$(SharedFrameworkInstallerFileRid)_arm64$(InstallerExtension)</DownloadedArm64NetCoreAppHostPackInstallerFileName>
|
||||||
<DownloadedWindowsDesktopTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">windowsdesktop-targeting-pack-$(WindowsDesktopTargetingPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedWindowsDesktopTargetingPackInstallerFileName>
|
<DownloadedWindowsDesktopTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">windowsdesktop-targeting-pack-$(WindowsDesktopTargetingPackVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedWindowsDesktopTargetingPackInstallerFileName>
|
||||||
<DownloadedNetStandardTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetStandardTargetingPackInstallerFileName>
|
<DownloadedNetStandardTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' != '' ">netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedNetStandardTargetingPackInstallerFileName>
|
||||||
<NetStandardTargetingPackTargetFramework>netstandard$(NETStandardLibraryRefPackageVersion.Split('.')[0])$(NETStandardLibraryRefPackageVersion.Split('.')[1])</NetStandardTargetingPackTargetFramework>
|
<NetStandardTargetingPackTargetFramework>netstandard$(NETStandardLibraryRefPackageVersion.Split('.')[0])$(NETStandardLibraryRefPackageVersion.Split('.')[1])</NetStandardTargetingPackTargetFramework>
|
||||||
|
@ -76,9 +81,10 @@
|
||||||
<CombinedSharedHostAndFrameworkArchive>$(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)</CombinedSharedHostAndFrameworkArchive>
|
<CombinedSharedHostAndFrameworkArchive>$(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)</CombinedSharedHostAndFrameworkArchive>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(HostOSName)' == 'win'">
|
<PropertyGroup Condition="'$(HostOSName)' == 'win' And !$(Architecture.StartsWith('arm'))">
|
||||||
<AlternateAppHostRid Condition="'$(Architecture)' == 'x86'">win-x64</AlternateAppHostRid>
|
<AlternateAppHostRid>win-$(AlternateArchitecture)</AlternateAppHostRid>
|
||||||
<AlternateAppHostRid Condition="'$(Architecture)' == 'x64'">win-x86</AlternateAppHostRid>
|
<ArmAppHostRid>win-arm</ArmAppHostRid>
|
||||||
|
<Arm64AppHostRid>win-arm64</Arm64AppHostRid>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -124,6 +130,20 @@
|
||||||
<RelativeLayoutPath>packs/%(PackageName)/%(PackageVersion)</RelativeLayoutPath>
|
<RelativeLayoutPath>packs/%(PackageName)/%(PackageVersion)</RelativeLayoutPath>
|
||||||
</BundledLayoutPackage>
|
</BundledLayoutPackage>
|
||||||
|
|
||||||
|
<BundledLayoutPackage Include="MicrosoftNetCoreAppHostPackNupkg_Arm" Condition="'$(ArmAppHostRid)' != ''">
|
||||||
|
<PackageName>Microsoft.NETCore.App.Host.$(ArmAppHostRid)</PackageName>
|
||||||
|
<PackageVersion>$(NetCoreAppHostPackVersion)</PackageVersion>
|
||||||
|
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||||
|
<RelativeLayoutPath>packs/%(PackageName)/%(PackageVersion)</RelativeLayoutPath>
|
||||||
|
</BundledLayoutPackage>
|
||||||
|
|
||||||
|
<BundledLayoutPackage Include="MicrosoftNetCoreAppHostPackNupkg_Arm64" Condition="'$(Arm64AppHostRid)' != ''">
|
||||||
|
<PackageName>Microsoft.NETCore.App.Host.$(Arm64AppHostRid)</PackageName>
|
||||||
|
<PackageVersion>$(NetCoreAppHostPackVersion)</PackageVersion>
|
||||||
|
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||||
|
<RelativeLayoutPath>packs/%(PackageName)/%(PackageVersion)</RelativeLayoutPath>
|
||||||
|
</BundledLayoutPackage>
|
||||||
|
|
||||||
<BundledInstallerComponent Include="DownloadedRuntimeDepsInstallerFile"
|
<BundledInstallerComponent Include="DownloadedRuntimeDepsInstallerFile"
|
||||||
Condition="('$(IsDebianBaseDistro)' == 'true' OR '$(IsRPMBasedDistro)' == 'true') And '$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' != '' And !$(Architecture.StartsWith('arm'))">
|
Condition="('$(IsDebianBaseDistro)' == 'true' OR '$(IsRPMBasedDistro)' == 'true') And '$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' != '' And !$(Architecture.StartsWith('arm'))">
|
||||||
<BaseUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)</BaseUrl>
|
<BaseUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)</BaseUrl>
|
||||||
|
@ -173,6 +193,27 @@
|
||||||
<AccessToken>$(CoreSetupBlobAccessTokenParam)</AccessToken>
|
<AccessToken>$(CoreSetupBlobAccessTokenParam)</AccessToken>
|
||||||
</BundledInstallerComponent>
|
</BundledInstallerComponent>
|
||||||
|
|
||||||
|
<BundledInstallerComponent Include="DownloadedAlternateNetCoreAppHostPackInstallerFile"
|
||||||
|
Condition="'$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' == '.msi' And !$(Architecture.StartsWith('arm'))">
|
||||||
|
<BaseUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)</BaseUrl>
|
||||||
|
<DownloadFileName>$(DownloadedAlternateNetCoreAppHostPackInstallerFileName)</DownloadFileName>
|
||||||
|
<AccessToken>$(CoreSetupBlobAccessTokenParam)</AccessToken>
|
||||||
|
</BundledInstallerComponent>
|
||||||
|
|
||||||
|
<BundledInstallerComponent Include="DownloadedArmNetCoreAppHostPackInstallerFile"
|
||||||
|
Condition="'$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' == '.msi' And !$(Architecture.StartsWith('arm'))">
|
||||||
|
<BaseUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)</BaseUrl>
|
||||||
|
<DownloadFileName>$(DownloadedArmNetCoreAppHostPackInstallerFileName)</DownloadFileName>
|
||||||
|
<AccessToken>$(CoreSetupBlobAccessTokenParam)</AccessToken>
|
||||||
|
</BundledInstallerComponent>
|
||||||
|
|
||||||
|
<BundledInstallerComponent Include="DownloadedArm64NetCoreAppHostPackInstallerFile"
|
||||||
|
Condition="'$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' == '.msi' And !$(Architecture.StartsWith('arm'))">
|
||||||
|
<BaseUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)</BaseUrl>
|
||||||
|
<DownloadFileName>$(DownloadedArm64NetCoreAppHostPackInstallerFileName)</DownloadFileName>
|
||||||
|
<AccessToken>$(CoreSetupBlobAccessTokenParam)</AccessToken>
|
||||||
|
</BundledInstallerComponent>
|
||||||
|
|
||||||
<BundledInstallerComponent Include="DownloadedWindowsDesktopTargetingPackInstallerFile"
|
<BundledInstallerComponent Include="DownloadedWindowsDesktopTargetingPackInstallerFile"
|
||||||
Condition="'$(InstallerExtension)' == '.msi' And '$(SkipBuildingInstallers)' != 'true' And !$(Architecture.StartsWith('arm'))">
|
Condition="'$(InstallerExtension)' == '.msi' And '$(SkipBuildingInstallers)' != 'true' And !$(Architecture.StartsWith('arm'))">
|
||||||
<BaseUrl>$(CoreSetupRootUrl)$(WindowsDesktopTargetingPackVersion)</BaseUrl>
|
<BaseUrl>$(CoreSetupRootUrl)$(WindowsDesktopTargetingPackVersion)</BaseUrl>
|
||||||
|
|
|
@ -239,6 +239,9 @@
|
||||||
'$(DownloadsFolder)$(DownloadedNetCoreAppTargetingPackInstallerFileName)' ^
|
'$(DownloadsFolder)$(DownloadedNetCoreAppTargetingPackInstallerFileName)' ^
|
||||||
'$(DownloadsFolder)$(DownloadedNetStandardTargetingPackInstallerFileName)' ^
|
'$(DownloadsFolder)$(DownloadedNetStandardTargetingPackInstallerFileName)' ^
|
||||||
'$(DownloadsFolder)$(DownloadedNetCoreAppHostPackInstallerFileName)' ^
|
'$(DownloadsFolder)$(DownloadedNetCoreAppHostPackInstallerFileName)' ^
|
||||||
|
'$(DownloadsFolder)$(DownloadedAlternateNetCoreAppHostPackInstallerFileName)' ^
|
||||||
|
'$(DownloadsFolder)$(DownloadedArmNetCoreAppHostPackInstallerFileName)' ^
|
||||||
|
'$(DownloadsFolder)$(DownloadedArm64NetCoreAppHostPackInstallerFileName)' ^
|
||||||
'$(DownloadsFolder)$(DownloadedAspNetTargetingPackInstallerFileName)' ^
|
'$(DownloadsFolder)$(DownloadedAspNetTargetingPackInstallerFileName)' ^
|
||||||
'$(DownloadsFolder)$(DownloadedWindowsDesktopTargetingPackInstallerFileName)' ^
|
'$(DownloadsFolder)$(DownloadedWindowsDesktopTargetingPackInstallerFileName)' ^
|
||||||
'$(Templates30MSIInstallerFile)' ^
|
'$(Templates30MSIInstallerFile)' ^
|
||||||
|
|
|
@ -133,6 +133,15 @@
|
||||||
<MsiPackage SourceFile="$(var.NetCoreAppHostPackMsiSourcePath)">
|
<MsiPackage SourceFile="$(var.NetCoreAppHostPackMsiSourcePath)">
|
||||||
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||||||
</MsiPackage>
|
</MsiPackage>
|
||||||
|
<MsiPackage SourceFile="$(var.AlternateNetCoreAppHostPackMsiSourcePath)">
|
||||||
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||||||
|
</MsiPackage>
|
||||||
|
<MsiPackage SourceFile="$(var.ArmNetCoreAppHostPackMsiSourcePath)">
|
||||||
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||||||
|
</MsiPackage>
|
||||||
|
<MsiPackage SourceFile="$(var.Arm64NetCoreAppHostPackMsiSourcePath)">
|
||||||
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||||||
|
</MsiPackage>
|
||||||
<MsiPackage SourceFile="$(var.NetStandardTargetingPackMsiSourcePath)">
|
<MsiPackage SourceFile="$(var.NetStandardTargetingPackMsiSourcePath)">
|
||||||
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||||||
</MsiPackage>
|
</MsiPackage>
|
||||||
|
|
|
@ -9,8 +9,11 @@ param(
|
||||||
[Parameter(Mandatory=$true)][string]$SharedHostMSIFile,
|
[Parameter(Mandatory=$true)][string]$SharedHostMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$WinFormsAndWpfMSIFile,
|
[Parameter(Mandatory=$true)][string]$WinFormsAndWpfMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$NetCoreAppTargetingPackMSIFile,
|
[Parameter(Mandatory=$true)][string]$NetCoreAppTargetingPackMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$NetCoreAppHostPackMSIFile,
|
|
||||||
[Parameter(Mandatory=$true)][string]$NetStandardTargetingPackMSIFile,
|
[Parameter(Mandatory=$true)][string]$NetStandardTargetingPackMSIFile,
|
||||||
|
[Parameter(Mandatory=$true)][string]$NetCoreAppHostPackMSIFile,
|
||||||
|
[Parameter(Mandatory=$true)][string]$AlternateNetCoreAppHostPackMSIFile,
|
||||||
|
[Parameter(Mandatory=$true)][string]$ArmNetCoreAppHostPackMSIFile,
|
||||||
|
[Parameter(Mandatory=$true)][string]$Arm64NetCoreAppHostPackMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$AspNetTargetingPackMSIFile,
|
[Parameter(Mandatory=$true)][string]$AspNetTargetingPackMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$WindowsDesktopTargetingPackMSIFile,
|
[Parameter(Mandatory=$true)][string]$WindowsDesktopTargetingPackMSIFile,
|
||||||
[Parameter(Mandatory=$true)][string]$TemplatesMSIFile,
|
[Parameter(Mandatory=$true)][string]$TemplatesMSIFile,
|
||||||
|
@ -53,6 +56,9 @@ function RunCandleForBundle
|
||||||
-dWinFormsAndWpfMsiSourcePath="$WinFormsAndWpfMSIFile" `
|
-dWinFormsAndWpfMsiSourcePath="$WinFormsAndWpfMSIFile" `
|
||||||
-dNetCoreAppTargetingPackMsiSourcePath="$NetCoreAppTargetingPackMSIFile" `
|
-dNetCoreAppTargetingPackMsiSourcePath="$NetCoreAppTargetingPackMSIFile" `
|
||||||
-dNetCoreAppHostPackMsiSourcePath="$NetCoreAppHostPackMSIFile" `
|
-dNetCoreAppHostPackMsiSourcePath="$NetCoreAppHostPackMSIFile" `
|
||||||
|
-dAlternateNetCoreAppHostPackMsiSourcePath="$AlternateNetCoreAppHostPackMSIFile" `
|
||||||
|
-dArmNetCoreAppHostPackMsiSourcePath="$ArmNetCoreAppHostPackMSIFile" `
|
||||||
|
-dArm64NetCoreAppHostPackMsiSourcePath="$Arm64NetCoreAppHostPackMSIFile" `
|
||||||
-dNetStandardTargetingPackMsiSourcePath="$NetStandardTargetingPackMSIFile" `
|
-dNetStandardTargetingPackMsiSourcePath="$NetStandardTargetingPackMSIFile" `
|
||||||
-dAspNetTargetingPackMsiSourcePath="$AspNetTargetingPackMSIFile" `
|
-dAspNetTargetingPackMsiSourcePath="$AspNetTargetingPackMSIFile" `
|
||||||
-dWindowsDesktopTargetingPackMsiSourcePath="$WindowsDesktopTargetingPackMSIFile" `
|
-dWindowsDesktopTargetingPackMsiSourcePath="$WindowsDesktopTargetingPackMSIFile" `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue