From: Jeremy Koritzinsky Date: Wed, 13 Nov 2019 01:52:49 +0000 (-0800) Subject: Update CoreCLR override to use the sharedFramework output folde… (dotnet/core-setup... X-Git-Tag: submit/tizen/20210909.063632~11032^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e68194a02929e75c225a59ca2d4222a9a73df1f6;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Update CoreCLR override to use the sharedFramework output folde… (dotnet/core-setup#8842) * 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 --- 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/**/*.*"/>