From e68194a02929e75c225a59ca2d4222a9a73df1f6 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Tue, 12 Nov 2019 17:52:49 -0800 Subject: [PATCH] =?utf8?q?Update=20CoreCLR=20override=20to=20use=20the=20s?= =?utf8?q?haredFramework=20output=20folde=E2=80=A6=20(dotnet/core-setup#88?= =?utf8?q?42)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Override the files coming from CoreCLR in the shared framework via the shared-framework folder (no package needed). * Fix PDB issues. Correctly place cross-targeting files in the correct target path. * Use NormalizePath to build up paths other than the globs themselves. * Fix typo missed by rename. * Normalize as directory. Fix naming. Commit migrated from https://github.com/dotnet/core-setup/commit/9af1be8a0a3f3127bbe136908593ce9c3f790169 --- .../src/localnetcoreapp.override.targets | 68 +++++++++++++--------- .../pkg/projects/netcoreapp/src/netcoreapp.depproj | 3 +- 2 files changed, 44 insertions(+), 27 deletions(-) diff --git a/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets b/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets index 55f87f3..b467e3f 100644 --- a/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets +++ b/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets @@ -4,34 +4,50 @@ - $(CoreCLROverridePath)/PDB + $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)')) + + + x64 + x86 + x64 + $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)','sharedFramework')) + $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)','$(CoreCLRCrossTargetComponentDir)','sharedFramework')) - - - - - - @(CoreCLRFiles) - - - - %(PathInPackage) - - - - - - @(ShortNameDacFileOverride) - - - - true - - - - + + + + + true + + + + + + + + runtime/$(RuntimeIdentifier)/native + + + + runtime/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native + + + + + + + diff --git a/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj b/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj index 33373d1..91ea562 100644 --- a/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj +++ b/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj @@ -56,7 +56,8 @@ + DependsOnTargets="GetCorePackagePaths" + Condition="'$(CoreCLROverridePath)' == ''"> <_ToolsToPackage Include="$(_runtimePackageDir)tools/**/*.*"/> -- 2.7.4