Replace aspnetcore-store with the aspnetcore-runtime
Update downloaded installers and wixlib to pull the ASP.NET Core Runtime (aka shared framework)
This commit is contained in:
parent
e914370606
commit
fb2df937fe
12 changed files with 64 additions and 92 deletions
|
@ -23,12 +23,24 @@
|
||||||
<DownloadedSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedFrameworkInstallerFileName>
|
<DownloadedSharedFrameworkInstallerFileName Condition=" '$(InstallerExtension)' != '' ">dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension)</DownloadedSharedFrameworkInstallerFileName>
|
||||||
<DownloadedSharedFrameworkInstallerFile Condition=" '$(InstallerExtension)' != '' ">$(PackagesDirectory)/$(DownloadedSharedFrameworkInstallerFileName)</DownloadedSharedFrameworkInstallerFile>
|
<DownloadedSharedFrameworkInstallerFile Condition=" '$(InstallerExtension)' != '' ">$(PackagesDirectory)/$(DownloadedSharedFrameworkInstallerFileName)</DownloadedSharedFrameworkInstallerFile>
|
||||||
|
|
||||||
|
<DownloadedAspNetCoreSharedFxInstallerFileName Condition=" '$(InstallerExtension)' != '' ">aspnetcore-runtime-$(AspNetCoreVersion)-$(CoreSetupRid)$(InstallerExtension)</DownloadedAspNetCoreSharedFxInstallerFileName>
|
||||||
|
<!-- ASP.NET Core shared fx is available as both an msi and wixlib, but we use the wixlib. -->
|
||||||
|
<DownloadedAspNetCoreSharedFxInstallerFileName Condition=" '$(InstallerExtension)' == '.msi' ">aspnetcore-runtime-$(AspNetCoreVersion)-$(CoreSetupRid).wixlib</DownloadedAspNetCoreSharedFxInstallerFileName>
|
||||||
|
<DownloadedAspNetCoreSharedFxInstallerFile Condition=" '$(InstallerExtension)' != '' ">$(PackagesDirectory)/$(DownloadedAspNetCoreSharedFxInstallerFileName)</DownloadedAspNetCoreSharedFxInstallerFile>
|
||||||
|
|
||||||
<!-- Use the portable "linux-x64" Rid when downloading Linux shared framework compressed file. -->
|
<!-- Use the portable "linux-x64" Rid when downloading Linux shared framework compressed file. -->
|
||||||
<SharedFrameworkRid>$(CoreSetupRid)</SharedFrameworkRid>
|
<SharedFrameworkRid>$(CoreSetupRid)</SharedFrameworkRid>
|
||||||
<SharedFrameworkRid Condition=" '$(UsePortableLinuxSharedFramework)' == 'true' ">linux-x64</SharedFrameworkRid>
|
<SharedFrameworkRid Condition=" '$(UsePortableLinuxSharedFramework)' == 'true' ">linux-x64</SharedFrameworkRid>
|
||||||
<CombinedFrameworkHostCompressedFileName>dotnet-runtime-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension)</CombinedFrameworkHostCompressedFileName>
|
<CombinedFrameworkHostCompressedFileName>dotnet-runtime-$(MicrosoftNETCoreAppPackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension)</CombinedFrameworkHostCompressedFileName>
|
||||||
|
|
||||||
</PropertyGroup>
|
<!-- Note: we use the "-internal" archives because they contain only the aspnetcore shared framework, and shouldn't overlap with CombinedFrameworkHostCompressedFile -->
|
||||||
|
<AspNetCoreSharedFxArchiveFileName>aspnetcore-runtime-internal-$(AspNetCoreVersion)-$(SharedFrameworkRid)$(ArchiveExtension)</AspNetCoreSharedFxArchiveFileName>
|
||||||
|
<AspNetCoreSharedFxArchiveFile>$(PackagesDirectory)/$(AspNetCoreSharedFxArchiveFileName)</AspNetCoreSharedFxArchiveFile>
|
||||||
|
|
||||||
|
<!-- Used to detect if ASP.NET Core is built against the same version of Microsoft.NETCore.App. -->
|
||||||
|
<AspNetCoreSharedFxBaseRuntimeVersionFileName>aspnetcore_base_runtime.version</AspNetCoreSharedFxBaseRuntimeVersionFileName>
|
||||||
|
<AspNetCoreSharedFxBaseRuntimeVersionFile Condition=" '$(AspNetCoreSharedFxBaseRuntimeVersionFileName)' != '' ">$(PackagesDirectory)/$(AspNetCoreSharedFxBaseRuntimeVersionFileName)</AspNetCoreSharedFxBaseRuntimeVersionFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CoreSetupRootUrl>$(CoreSetupBlobRootUrl)Runtime/</CoreSetupRootUrl>
|
<CoreSetupRootUrl>$(CoreSetupBlobRootUrl)Runtime/</CoreSetupRootUrl>
|
||||||
|
@ -36,22 +48,14 @@
|
||||||
<CombinedSharedHostAndFrameworkArchive>$(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)</CombinedSharedHostAndFrameworkArchive>
|
<CombinedSharedHostAndFrameworkArchive>$(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)</CombinedSharedHostAndFrameworkArchive>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<AspNetCoreRuntimeInstallerBlobRootUrl>$(CoreSetupBlobRootUrl)aspnetcore/store/$(AspNetCoreRuntimePackageFolderName)</AspNetCoreRuntimeInstallerBlobRootUrl>
|
|
||||||
<AspNetCoreSharedRuntimeVersionFileName>runtime.version</AspNetCoreSharedRuntimeVersionFileName>
|
|
||||||
<AspNetCoreSharedRuntimeVersionFile Condition=" '$(AspNetCoreSharedRuntimeVersionFileName)' != '' ">$(PackagesDirectory)/$(AspNetCoreSharedRuntimeVersionFileName)</AspNetCoreSharedRuntimeVersionFile>
|
|
||||||
|
|
||||||
<AspNetCoreRuntimeInstallerArchiveFileNameOSToken Condition=" '$(HostOSName)' == 'win' ">win7-$(Architecture)</AspNetCoreRuntimeInstallerArchiveFileNameOSToken>
|
|
||||||
<AspNetCoreRuntimeInstallerArchiveFileNameOSToken Condition=" '$(HostOSName)' == 'osx' ">$(HostOSName)-$(Architecture)</AspNetCoreRuntimeInstallerArchiveFileNameOSToken>
|
|
||||||
<AspNetCoreRuntimeInstallerArchiveFileNameOSToken Condition=" '$(AspNetCoreRuntimeInstallerArchiveFileNameOSToken)' == '' ">linux-$(Architecture)</AspNetCoreRuntimeInstallerArchiveFileNameOSToken>
|
|
||||||
<AspNetCoreRuntimeInstallerArchiveFileName>$(AspNetCoreRuntimePackageBrandName)-$(AspNetCoreRuntimePackageVersion)-$(AspNetCoreRuntimeInstallerArchiveFileNameOSToken)$(ArchiveExtension)</AspNetCoreRuntimeInstallerArchiveFileName>
|
|
||||||
<AspNetCoreRuntimeInstallerArchiveFile>$(PackagesDirectory)/$(AspNetCoreRuntimeInstallerArchiveFileName)</AspNetCoreRuntimeInstallerArchiveFile>
|
|
||||||
|
|
||||||
<AspNetCoreRuntimeInstallerWixLibFileName Condition=" '$(HostOSName)' == 'win' ">AspNetCorePackageStoreLib_$(Architecture)-$(AspNetCoreRuntimePackageVersion).wixlib</AspNetCoreRuntimeInstallerWixLibFileName>
|
|
||||||
<AspNetCoreRuntimeInstallerWixLibFile Condition=" '$(AspNetCoreRuntimeInstallerWixLibFileName)' != '' ">$(PackagesDirectory)/$(AspNetCoreRuntimeInstallerWixLibFileName)</AspNetCoreRuntimeInstallerWixLibFile>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<_DownloadAndExtractItem Include="AspNetCoreSharedFxArchiveFile"
|
||||||
|
Condition="!Exists('$(AspNetCoreSharedFxArchiveFile)')">
|
||||||
|
<Url>$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(AspNetCoreSharedFxArchiveFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
||||||
|
<DownloadFileName>$(AspNetCoreSharedFxArchiveFile)</DownloadFileName>
|
||||||
|
<ExtractDestination>$(SharedFrameworkPublishDirectory)</ExtractDestination>
|
||||||
|
</_DownloadAndExtractItem>
|
||||||
|
|
||||||
<_DownloadAndExtractItem Include="CombinedSharedHostAndFrameworkArchive"
|
<_DownloadAndExtractItem Include="CombinedSharedHostAndFrameworkArchive"
|
||||||
Condition="!Exists('$(CombinedSharedHostAndFrameworkArchive)')">
|
Condition="!Exists('$(CombinedSharedHostAndFrameworkArchive)')">
|
||||||
<Url>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)/$(CombinedFrameworkHostCompressedFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
<Url>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)/$(CombinedFrameworkHostCompressedFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
||||||
|
@ -87,24 +91,17 @@
|
||||||
<ExtractDestination></ExtractDestination>
|
<ExtractDestination></ExtractDestination>
|
||||||
</_DownloadAndExtractItem>
|
</_DownloadAndExtractItem>
|
||||||
|
|
||||||
<_DownloadAndExtractItem Include="AspNetCoreRuntimeInstallerWixLibFile"
|
<_DownloadAndExtractItem Include="DownloadedAspNetCoreSharedFxInstallerFile"
|
||||||
Condition=" '$(AspNetCoreRuntimeInstallerWixLibFile)' != '' And !Exists('$(AspNetCoreRuntimeInstallerWixLibFile)')">
|
Condition="'$(SkipBuildingInstallers)' != 'true' AND !Exists($(DownloadedAspNetCoreSharedFxInstallerFile)) And '$(InstallerExtension)' != ''">
|
||||||
<Url>$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeInstallerWixLibFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
<Url>$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(DownloadedAspNetCoreSharedFxInstallerFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
||||||
<DownloadFileName>$(AspNetCoreRuntimeInstallerWixLibFile)</DownloadFileName>
|
<DownloadFileName>$(DownloadedAspNetCoreSharedFxInstallerFile)</DownloadFileName>
|
||||||
<ExtractDestination></ExtractDestination>
|
<ExtractDestination></ExtractDestination>
|
||||||
</_DownloadAndExtractItem>
|
</_DownloadAndExtractItem>
|
||||||
|
|
||||||
<_DownloadAndExtractItem Include="AspNetCoreRuntimeInstallerArchiveFile"
|
<_DownloadAndExtractItem Include="AspNetCoreSharedFxBaseRuntimeVersionFile"
|
||||||
Condition="!Exists('$(AspNetCoreRuntimeInstallerArchiveFile)')">
|
Condition="!Exists('$(AspNetCoreSharedFxBaseRuntimeVersionFile)')">
|
||||||
<Url>$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeInstallerArchiveFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
<Url>$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(AspNetCoreSharedFxBaseRuntimeVersionFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
||||||
<DownloadFileName>$(AspNetCoreRuntimeInstallerArchiveFile)</DownloadFileName>
|
<DownloadFileName>$(AspNetCoreSharedFxBaseRuntimeVersionFile)</DownloadFileName>
|
||||||
<ExtractDestination>$(AspNetRuntimePackageStorePublishDirectory)</ExtractDestination>
|
|
||||||
</_DownloadAndExtractItem>
|
|
||||||
|
|
||||||
<_DownloadAndExtractItem Include="AspNetCoreSharedRuntimeVersionFile"
|
|
||||||
Condition="!Exists('$(AspNetCoreSharedRuntimeVersionFile)')">
|
|
||||||
<Url>$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreSharedRuntimeVersionFileName)$(CoreSetupBlobAccessTokenParam)</Url>
|
|
||||||
<DownloadFileName>$(AspNetCoreSharedRuntimeVersionFile)</DownloadFileName>
|
|
||||||
<ExtractDestination></ExtractDestination>
|
<ExtractDestination></ExtractDestination>
|
||||||
</_DownloadAndExtractItem>
|
</_DownloadAndExtractItem>
|
||||||
|
|
||||||
|
|
|
@ -60,12 +60,7 @@
|
||||||
|
|
||||||
<SharedHostVersion>$(MicrosoftNETCoreAppPackageVersion)</SharedHostVersion>
|
<SharedHostVersion>$(MicrosoftNETCoreAppPackageVersion)</SharedHostVersion>
|
||||||
<HostFxrVersion>$(MicrosoftNETCoreAppPackageVersion)</HostFxrVersion>
|
<HostFxrVersion>$(MicrosoftNETCoreAppPackageVersion)</HostFxrVersion>
|
||||||
<AspNetCoreVersion>2.1.0-preview1-27617</AspNetCoreVersion>
|
<AspNetCoreVersion>2.1.0-preview1-28001</AspNetCoreVersion>
|
||||||
|
|
||||||
|
|
||||||
<AspNetCoreRuntimePackageBrandName>aspnetcore-store</AspNetCoreRuntimePackageBrandName>
|
|
||||||
<AspNetCoreRuntimePackageFolderName>dev-26623</AspNetCoreRuntimePackageFolderName>
|
|
||||||
<AspNetCoreRuntimePackageVersion>2.1.0-preview1-26623</AspNetCoreRuntimePackageVersion>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- infrastructure and test only dependencies -->
|
<!-- infrastructure and test only dependencies -->
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<FinalArchive>$(SdkOutputDirectory)/nuGetPackagesArchive.lzma</FinalArchive>
|
<FinalArchive>$(SdkOutputDirectory)/nuGetPackagesArchive.lzma</FinalArchive>
|
||||||
<NugetPackagesArchiveName>nuGetPackagesArchive-$(AspNetCoreRuntimePackageVersion).lzma</NugetPackagesArchiveName>
|
<NugetPackagesArchiveName>nuGetPackagesArchive-$(AspNetCoreVersion).lzma</NugetPackagesArchiveName>
|
||||||
<IntermediateArchive>$(IntermediateDirectory)/$(NugetPackagesArchiveName)</IntermediateArchive>
|
<IntermediateArchive>$(IntermediateDirectory)/$(NugetPackagesArchiveName)</IntermediateArchive>
|
||||||
<NugetPackagesArchiveBlobUrl>$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(NugetPackagesArchiveName)</NugetPackagesArchiveBlobUrl>
|
<NugetPackagesArchiveBlobUrl>$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(NugetPackagesArchiveName)$(CoreSetupBlobAccessTokenParam)</NugetPackagesArchiveBlobUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="GetNuGetPackagesArchive"
|
<Target Name="GetNuGetPackagesArchive"
|
||||||
Inputs="$(IntermediateArchive)"
|
Inputs="$(IntermediateArchive)"
|
||||||
Outputs="$(FinalArchive)"
|
Outputs="$(FinalArchive)"
|
||||||
Condition=" '$(IncludeNuGetPackageArchive)' == 'true' ">
|
Condition=" '$(IncludeNuGetPackageArchive)' == 'true' ">
|
||||||
<DownloadFile Uri="$(NugetPackagesArchiveBlobUrl)$(CoreSetupBlobAccessTokenParam)"
|
<DownloadFile Uri="$(NugetPackagesArchiveBlobUrl)"
|
||||||
DestinationPath="$(IntermediateArchive)"
|
DestinationPath="$(IntermediateArchive)"
|
||||||
ContinueOnError="WarnAndContinue" />
|
ContinueOnError="WarnAndContinue" />
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
<Target Name="BuildSdkDeb"
|
<Target Name="BuildSdkDeb"
|
||||||
Condition=" '$(IsDebianBaseDistro)' == 'True' AND '$(DebuildPresent)' == 'true' "
|
Condition=" '$(IsDebianBaseDistro)' == 'True' AND '$(DebuildPresent)' == 'true' "
|
||||||
DependsOnTargets="PrepareDotnetDebDirectories;
|
DependsOnTargets="PrepareDotnetDebDirectories;
|
||||||
PrepareDotnetDebTool;
|
PrepareDotnetDebTool;"
|
||||||
DownloadAspNetCoreRuntimeDebInstaller;"
|
|
||||||
Inputs="@(CLISdkFiles)"
|
Inputs="@(CLISdkFiles)"
|
||||||
Outputs="$(SdkInstallerFile)" >
|
Outputs="$(SdkInstallerFile)" >
|
||||||
|
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedAspNetCoreRuntime)" />
|
<Exec Command="sudo dpkg -i $(DownloadedAspNetCoreSharedFxInstallerFile)" />
|
||||||
|
|
||||||
<!-- Create layout: Binaries -->
|
<!-- Create layout: Binaries -->
|
||||||
<Copy
|
<Copy
|
||||||
|
@ -109,7 +108,7 @@
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
|
||||||
<Exec Command="sudo dpkg -i $(DownloadedSharedAspNetCoreRuntime)" />
|
<Exec Command="sudo dpkg -i $(DownloadedAspNetCoreSharedFxInstallerFile)" />
|
||||||
|
|
||||||
<Exec Command="sudo dpkg -i $(SdkInstallerFile)" />
|
<Exec Command="sudo dpkg -i $(SdkInstallerFile)" />
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
<HostFxrDebianPackageName>dotnet-hostfxr-$(HostFxrDebianPackageVersion)</HostFxrDebianPackageName>
|
<HostFxrDebianPackageName>dotnet-hostfxr-$(HostFxrDebianPackageVersion)</HostFxrDebianPackageName>
|
||||||
<HostFxrDebianPackageName>$(HostFxrDebianPackageName.ToLower())</HostFxrDebianPackageName>
|
<HostFxrDebianPackageName>$(HostFxrDebianPackageName.ToLower())</HostFxrDebianPackageName>
|
||||||
<HostDebianPackageName>dotnet-host</HostDebianPackageName>
|
<HostDebianPackageName>dotnet-host</HostDebianPackageName>
|
||||||
<AspNetCoreRuntimePackageName>$(AspNetCoreRuntimePackageBrandName)-$(AspNetCoreRuntimePackageVersion)</AspNetCoreRuntimePackageName>
|
<AspNetCoreSharedFxDebianPackageName>aspnetcore-runtime-$(AspNetCoreVersion)</AspNetCoreSharedFxDebianPackageName>
|
||||||
<AspNetCoreRuntimeDebInstallerFileName>$(AspNetCoreRuntimePackageBrandName)-$(AspNetCoreRuntimePackageVersion)-$(HostRid).deb</AspNetCoreRuntimeDebInstallerFileName>
|
<AspNetCoreSharedFxDebianPackageName>$(AspNetCoreSharedFxDebianPackageName.ToLower())</AspNetCoreSharedFxDebianPackageName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Inputs -->
|
<!-- Inputs -->
|
||||||
|
@ -86,8 +86,8 @@
|
||||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
||||||
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
||||||
</DebianConfigTokenValues>
|
</DebianConfigTokenValues>
|
||||||
<DebianConfigTokenValues Include="%ASPNETCOREPACKAGESTORE_DEBIAN_PACKAGE_NAME%">
|
<DebianConfigTokenValues Include="%ASPNETCORE_SHAREDFX_DEBIAN_PACKAGE_NAME%">
|
||||||
<ReplacementString>$(AspNetCoreRuntimePackageName)</ReplacementString>
|
<ReplacementString>$(AspNetCoreSharedFxDebianPackageName)</ReplacementString>
|
||||||
</DebianConfigTokenValues>
|
</DebianConfigTokenValues>
|
||||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%"
|
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%"
|
||||||
Condition="'$(IncludeAdditionalSharedFrameworks)' == 'true'">
|
Condition="'$(IncludeAdditionalSharedFrameworks)' == 'true'">
|
||||||
|
@ -121,13 +121,4 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="DownloadAspNetCoreRuntimeDebInstaller"
|
|
||||||
DependsOnTargets="SetupDebProps">
|
|
||||||
<PropertyGroup>
|
|
||||||
<DownloadedSharedAspNetCoreRuntime>$(PackagesDirectory)/$(AspNetCoreRuntimeDebInstallerFileName)</DownloadedSharedAspNetCoreRuntime>
|
|
||||||
</PropertyGroup>
|
|
||||||
<DownloadFile
|
|
||||||
Uri="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeDebInstallerFileName)$(CoreSetupBlobAccessTokenParam)"
|
|
||||||
DestinationPath="$(DownloadedSharedAspNetCoreRuntime)"/>
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
|
|
||||||
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateBundlePowershellScript)
|
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateBundlePowershellScript)
|
||||||
'$(SdkInstallerFile)'
|
'$(SdkInstallerFile)'
|
||||||
'$(AspNetCoreRuntimeInstallerWixLibFile)'
|
'$(DownloadedAspNetCoreSharedFxInstallerFile)'
|
||||||
'$(DownloadedSharedFrameworkInstallerFile)'
|
'$(DownloadedSharedFrameworkInstallerFile)'
|
||||||
'$(DownloadedHostFxrInstallerFile)'
|
'$(DownloadedHostFxrInstallerFile)'
|
||||||
'$(DownloadedSharedHostInstallerFile)'
|
'$(DownloadedSharedHostInstallerFile)'
|
||||||
|
|
|
@ -70,11 +70,11 @@
|
||||||
<SDKTokenValue Include="%SHARED_HOST_RPM_VERSION%">
|
<SDKTokenValue Include="%SHARED_HOST_RPM_VERSION%">
|
||||||
<ReplacementString>$(MicrosoftNETCoreAppPackageVersion)</ReplacementString>
|
<ReplacementString>$(MicrosoftNETCoreAppPackageVersion)</ReplacementString>
|
||||||
</SDKTokenValue>
|
</SDKTokenValue>
|
||||||
<SDKTokenValue Include="%ASPNETCOREPACKAGESTORE_RPM_PACKAGE_NAME%">
|
<SDKTokenValue Include="%ASPNETCORE_SHAREDFX_RPM_PACKAGE_NAME%">
|
||||||
<ReplacementString>$(AspNetCoreRuntimePackageName)</ReplacementString>
|
<ReplacementString>$(AspNetCoreSharedFxRpmPackageName)</ReplacementString>
|
||||||
</SDKTokenValue>
|
</SDKTokenValue>
|
||||||
<SDKTokenValue Include="%ASPNETCOREPACKAGESTORE_RPM_PACKAGE_VERSION%">
|
<SDKTokenValue Include="%ASPNETCORE_SHAREDFX_RPM_PACKAGE_VERSION%">
|
||||||
<ReplacementString>$(AspNetCoreRuntimePackageVersion)</ReplacementString>
|
<ReplacementString>$(AspNetCoreVersion)</ReplacementString>
|
||||||
</SDKTokenValue>
|
</SDKTokenValue>
|
||||||
<SDKTokenValue Include="%SHARED_HOST_RPM_NAME%">
|
<SDKTokenValue Include="%SHARED_HOST_RPM_NAME%">
|
||||||
<ReplacementString>$(SharedFxRpmPackageName)</ReplacementString>
|
<ReplacementString>$(SharedFxRpmPackageName)</ReplacementString>
|
||||||
|
@ -175,8 +175,8 @@
|
||||||
<HostFxrRpmPackageName>dotnet-hostfxr-$(HostFxrRpmPackageVersion)</HostFxrRpmPackageName>
|
<HostFxrRpmPackageName>dotnet-hostfxr-$(HostFxrRpmPackageVersion)</HostFxrRpmPackageName>
|
||||||
<HostFxrRpmPackageName>$(HostFxrRpmPackageName.ToLower())</HostFxrRpmPackageName>
|
<HostFxrRpmPackageName>$(HostFxrRpmPackageName.ToLower())</HostFxrRpmPackageName>
|
||||||
<HostRpmPackageName>dotnet-host</HostRpmPackageName>
|
<HostRpmPackageName>dotnet-host</HostRpmPackageName>
|
||||||
<AspNetCoreRuntimePackageName>$(AspNetCoreRuntimePackageBrandName)-$(AspNetCoreRuntimePackageVersion)</AspNetCoreRuntimePackageName>
|
<AspNetCoreSharedFxRpmPackageName>aspnetcore-runtime-$(AspNetCoreVersion)</AspNetCoreSharedFxRpmPackageName>
|
||||||
<AspNetCoreRuntimeRpmInstallerFileName>$(AspNetCoreRuntimePackageBrandName)-$(AspNetCoreRuntimePackageVersion)-$(HostRid).rpm</AspNetCoreRuntimeRpmInstallerFileName>
|
<AspNetCoreSharedFxRpmPackageName>$(AspNetCoreSharedFxRpmPackageName.ToLower())</AspNetCoreSharedFxRpmPackageName>
|
||||||
<AfterInstallHostScriptTemplateFile>$(ScriptsDir)/$(AfterInstallHostScriptName)</AfterInstallHostScriptTemplateFile>
|
<AfterInstallHostScriptTemplateFile>$(ScriptsDir)/$(AfterInstallHostScriptName)</AfterInstallHostScriptTemplateFile>
|
||||||
<AfterInstallHostScriptDestinationFile>$(RpmLayoutScripts)/$(AfterInstallHostScriptName)</AfterInstallHostScriptDestinationFile>
|
<AfterInstallHostScriptDestinationFile>$(RpmLayoutScripts)/$(AfterInstallHostScriptName)</AfterInstallHostScriptDestinationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -186,16 +186,6 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="DownloadAspNetCoreRuntimeRpmInstaller"
|
|
||||||
DependsOnTargets="SetupRpmProps">
|
|
||||||
<PropertyGroup>
|
|
||||||
<DownloadedSharedAspNetCoreRuntime>$(PackagesDirectory)/$(AspNetCoreRuntimeRpmInstallerFileName)</DownloadedSharedAspNetCoreRuntime>
|
|
||||||
</PropertyGroup>
|
|
||||||
<DownloadFile
|
|
||||||
Uri="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeRpmInstallerFileName)$(CoreSetupBlobAccessTokenParam)"
|
|
||||||
DestinationPath="$(DownloadedSharedAspNetCoreRuntime)"/>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Target Name="TestFPMTool">
|
<Target Name="TestFPMTool">
|
||||||
|
|
||||||
<!-- run FPM -->
|
<!-- run FPM -->
|
||||||
|
@ -216,12 +206,12 @@
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="TestSdkRpm"
|
<Target Name="TestSdkRpm"
|
||||||
DependsOnTargets="RestoreTests;DownloadAspNetCoreRuntimeRpmInstaller"
|
DependsOnTargets="RestoreTests"
|
||||||
Condition=" '$(IsRPMBasedDistro)' == 'True' and '$(FPMPresent)' == 'True' "
|
Condition=" '$(IsRPMBasedDistro)' == 'True' and '$(FPMPresent)' == 'True' "
|
||||||
Inputs="$(DownloadedSharedHostInstallerFile);
|
Inputs="$(DownloadedSharedHostInstallerFile);
|
||||||
$(DownloadedHostFxrInstallerFile);
|
$(DownloadedHostFxrInstallerFile);
|
||||||
$(DownloadedSharedFrameworkInstallerFile);
|
$(DownloadedSharedFrameworkInstallerFile);
|
||||||
$(DownloadedSharedAspNetCoreRuntime);
|
$(DownloadedAspNetCoreSharedFxInstallerFile);
|
||||||
$(RpmTestResultsXmlFile);"
|
$(RpmTestResultsXmlFile);"
|
||||||
Outputs="$(RpmTestResultsXmlFile)" >
|
Outputs="$(RpmTestResultsXmlFile)" >
|
||||||
|
|
||||||
|
@ -229,7 +219,7 @@
|
||||||
<Exec Command="sudo yum -y install $(DownloadedSharedHostInstallerFile)" />
|
<Exec Command="sudo yum -y install $(DownloadedSharedHostInstallerFile)" />
|
||||||
<Exec Command="sudo yum -y install $(DownloadedHostFxrInstallerFile)" />
|
<Exec Command="sudo yum -y install $(DownloadedHostFxrInstallerFile)" />
|
||||||
<Exec Command="sudo yum -y install $(DownloadedSharedFrameworkInstallerFile)" />
|
<Exec Command="sudo yum -y install $(DownloadedSharedFrameworkInstallerFile)" />
|
||||||
<Exec Command="sudo yum -y install $(DownloadedSharedAspNetCoreRuntime)" />
|
<Exec Command="sudo yum -y install $(DownloadedAspNetCoreSharedFxInstallerFile)" />
|
||||||
|
|
||||||
<Exec Command="sudo yum -y install $(SdkInstallerFile)" />
|
<Exec Command="sudo yum -y install $(SdkInstallerFile)" />
|
||||||
|
|
||||||
|
@ -244,7 +234,7 @@
|
||||||
<!-- Clean up Packages -->
|
<!-- Clean up Packages -->
|
||||||
<Exec Command="sudo yum remove -y $(SdkRpmPackageName)" />
|
<Exec Command="sudo yum remove -y $(SdkRpmPackageName)" />
|
||||||
|
|
||||||
<Exec Command="sudo yum remove -y $(AspNetCoreRuntimePackageName)" />
|
<Exec Command="sudo yum remove -y $(AspNetCoreSharedFxRpmPackageName)" />
|
||||||
<Exec Command="sudo yum remove -y $(SharedFxRpmPackageName)" />
|
<Exec Command="sudo yum remove -y $(SharedFxRpmPackageName)" />
|
||||||
<Exec Command="sudo yum remove -y $(HostFxrRpmPackageName)" />
|
<Exec Command="sudo yum remove -y $(HostFxrRpmPackageName)" />
|
||||||
<Exec Command="sudo yum remove -y $(HostRpmPackageName)" />
|
<Exec Command="sudo yum remove -y $(HostRpmPackageName)" />
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
<Target Name="ReadAspNetCoreSharedRuntimeVersionFile"
|
<Target Name="ReadAspNetCoreSharedRuntimeVersionFile"
|
||||||
DependsOnTargets="DownloadHostAndSharedFxArtifacts">
|
DependsOnTargets="DownloadHostAndSharedFxArtifacts">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<File Include="$(AspNetCoreSharedRuntimeVersionFile)" />
|
<File Include="$(AspNetCoreSharedFxBaseRuntimeVersionFile)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ReadLinesFromFile File="@(File)">
|
<ReadLinesFromFile File="@(File)">
|
||||||
<Output
|
<Output
|
||||||
TaskParameter="Lines"
|
TaskParameter="Lines"
|
||||||
ItemName="AspNetCoreSharedRuntimeVersion"/>
|
ItemName="AspNetCoreSharedFxBaseRuntimeVersion"/>
|
||||||
</ReadLinesFromFile>
|
</ReadLinesFromFile>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CompareRuntimeVersions">
|
<Target Name="CompareRuntimeVersions">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Coherent>false</Coherent>
|
<Coherent>false</Coherent>
|
||||||
<Coherent Condition=" '$(MicrosoftNETCoreAppPackageVersion)' == '@(AspNetCoreSharedRuntimeVersion)' ">true</Coherent>
|
<Coherent Condition=" '$(MicrosoftNETCoreAppPackageVersion)' == '@(AspNetCoreSharedFxBaseRuntimeVersion)' ">true</Coherent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -30,6 +30,6 @@
|
||||||
|
|
||||||
"debian_dependencies":{
|
"debian_dependencies":{
|
||||||
"%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%" : {}%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%,
|
"%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%" : {}%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%,
|
||||||
"%ASPNETCOREPACKAGESTORE_DEBIAN_PACKAGE_NAME%": {}
|
"%ASPNETCORE_SHAREDFX_DEBIAN_PACKAGE_NAME%": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
"package_version": "%SHARED_HOST_RPM_VERSION%"
|
"package_version": "%SHARED_HOST_RPM_VERSION%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"package_name": "%ASPNETCOREPACKAGESTORE_RPM_PACKAGE_NAME%",
|
"package_name": "%ASPNETCORE_SHAREDFX_RPM_PACKAGE_NAME%",
|
||||||
"package_version": "%ASPNETCOREPACKAGESTORE_RPM_PACKAGE_VERSION%"
|
"package_version": "%ASPNETCORE_SHAREDFX_RPM_PACKAGE_VERSION%"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"directories": [
|
"directories": [
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
<MsiProperty Name="EXEFULLPATH" Value="[WixBundleOriginalSource]" />
|
<MsiProperty Name="EXEFULLPATH" Value="[WixBundleOriginalSource]" />
|
||||||
</MsiPackage>
|
</MsiPackage>
|
||||||
<?if $(var.Platform)=x86?>
|
<?if $(var.Platform)=x86?>
|
||||||
<PackageGroupRef Id="PG_AspNetCorePackageStore_x86"/>
|
<PackageGroupRef Id="PG_AspNetCoreSharedFramework_x86"/>
|
||||||
<?elseif $(var.Platform)=x64?>
|
<?elseif $(var.Platform)=x64?>
|
||||||
<PackageGroupRef Id="PG_AspNetCorePackageStore_x64"/>
|
<PackageGroupRef Id="PG_AspNetCoreSharedFramework_x64"/>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
</Chain>
|
</Chain>
|
||||||
</Bundle>
|
</Bundle>
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
<Target Name="RunMsBuildScriptTests" DependsOnTargets="EnsureAllDependencyFilesExist"></Target>
|
<Target Name="RunMsBuildScriptTests" DependsOnTargets="EnsureAllDependencyFilesExist"></Target>
|
||||||
|
|
||||||
<Target Name="EnsureAllDependencyFilesExist">
|
<Target Name="EnsureAllDependencyFilesExist">
|
||||||
<EnsureFileExistsOnAzureBlobStorage Condition="$(HostRid.StartsWith('win'))" FileUrl="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeInstallerWixLibFileName)" />
|
<EnsureFileExistsOnAzureBlobStorage Condition="$(HostRid.StartsWith('win'))" FileUrl="$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(DownloadedAspNetCoreSharedFxInstallerFileName)" />
|
||||||
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreRuntimeInstallerArchiveFileName)" />
|
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(DownloadedAspNetCoreSharedFxInstallerFileName)" />
|
||||||
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(AspNetCoreSharedRuntimeVersionFileName)" />
|
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(AspNetCoreSharedFxArchiveFileName)" />
|
||||||
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(NugetPackagesArchiveName)" />
|
<EnsureFileExistsOnAzureBlobStorage FileUrl="$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(NugetPackagesArchiveName)" />
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue