diff --git a/src/redist/targets/GenerateBundledVersions.targets b/src/redist/targets/GenerateBundledVersions.targets index f4d884776396..bced20582c58 100644 --- a/src/redist/targets/GenerateBundledVersions.targets +++ b/src/redist/targets/GenerateBundledVersions.targets @@ -161,6 +161,8 @@ Copyright (c) .NET Foundation. All rights reserved. --> + %24([MSBuild]::NormalizePath('%24(MSBuildThisFileDirectory)..\..\packs')) + $(_NETCoreAppTargetFrameworkVersion) $(_NETCoreAppTargetFrameworkVersion) $(_NETCoreAppPackageVersion) @@ -199,8 +201,8 @@ Copyright (c) .NET Foundation. All rights reserved. RuntimeFrameworkName="Microsoft.NETCore.App" DefaultRuntimeFrameworkVersion="$(_NETCoreAppPackageVersion)" LatestRuntimeFrameworkVersion="$(_NETCoreAppPackageVersion)" - TargetingPackName="Microsoft.NETCore.App" - TargetingPackVersion="$(_NETCoreAppPackageVersion)" + TargetingPackName="Microsoft.NETCore.App.Ref" + TargetingPackVersion="$(NetCoreAppTargetingPackVersion)" AppHostPackNamePattern="runtime.**RID**.Microsoft.NETCore.DotNetAppHost" AppHostRuntimeIdentifiers="@(NetCoreRuntimePackRids, '%3B')" RuntimePackNamePatterns="runtime.**RID**.Microsoft.NETCore.App%3Bruntime.**RID**.Microsoft.NETCore.DotNetHostResolver%3Bruntime.**RID**.Microsoft.NETCore.DotNetHostPolicy" @@ -230,8 +232,8 @@ Copyright (c) .NET Foundation. All rights reserved. RuntimeFrameworkName="Microsoft.AspNetCore.App" DefaultRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)" LatestRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)" - TargetingPackName="Microsoft.AspNetCore.App" - TargetingPackVersion="$(MicrosoftAspNetCoreAppPackageVersion)" + TargetingPackName="Microsoft.AspNetCore.App.Ref" + TargetingPackVersion="$(AspNetTargetingPackVersion)" RuntimePackNamePatterns="runtime.**RID**.Microsoft.AspNetCore.App" RuntimePackRuntimeIdentifiers="@(AspNetCoreRuntimePackRids, '%3B')" /> diff --git a/src/redist/targets/GenerateLayout.targets b/src/redist/targets/GenerateLayout.targets index f2b5189b406f..4b90cfe2d1b0 100644 --- a/src/redist/targets/GenerateLayout.targets +++ b/src/redist/targets/GenerateLayout.targets @@ -70,6 +70,18 @@ + + Microsoft.NETCore.App.Ref + $(NetCoreAppTargetingPackVersion) + packs/%(PackageName)/%(PackageVersion) + + + + Microsoft.AspNetCore.App.Ref + $(AspNetTargetingPackVersion) + packs/%(PackageName)/%(PackageVersion) + + $(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion) @@ -183,7 +195,52 @@ - + + + + + PackageToRestore=%(BundledLayoutPackage.PackageName); + PackageVersionToRestore=%(BundledLayoutPackage.PackageVersion); + TargetFramework=$(TargetFramework); + LayoutPackageDescription=%(BundledLayoutPackage.Identity) + + + + + + + + + + + $([MSBuild]::ValueOrDefault('%(BundledLayoutPackage.PackageName)', '').ToLower()) + + + + %(BundledLayoutPackage.RelativeLayoutPath) + %(BundledLayoutPackage.Identity) + + + + + + + + %(BundledLayoutPackageDownloadFiles.RecursiveDir)%(BundledLayoutPackageDownloadFiles.Filename)%(BundledLayoutPackageDownloadFiles.Extension) + + + $(RedistLayoutPath)/%(BundledLayoutPackageDownloadFiles.RelativeLayoutPath)/%(BundledLayoutPackageDownloadFiles.DestinationPath) + + + $([MSBuild]::NormalizePath(%(BundledLayoutPackageDownloadFiles.DestinationPath))) + + + + + @@ -192,9 +249,15 @@ - + + DestinationDirectory="$(RedistLayoutPath)/%(BundledLayoutComponent.RelativeLayoutPath)" /> + + + @@ -285,7 +348,7 @@