From bcd8ce1162f7a0a94ba689bf4da75b7b3b92d6e8 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Tue, 11 Jun 2024 15:45:29 -0400 Subject: [PATCH 1/3] [osx][linux] Make sure host symbols are copied to testhost & in-tree runtime pack Fixes the glitch for linux and mac in case you want to debug the host --- src/libraries/externals.csproj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj index 6aa753ec79b239..68fa01bcb1fe95 100644 --- a/src/libraries/externals.csproj +++ b/src/libraries/externals.csproj @@ -27,6 +27,7 @@ + <_HostSymbols Condition="'$(TargetOS)' != 'windows'" Include="$(DotNetHostBinDir)$(LibPrefix)*$(LibSuffix)$(SymbolsSuffix)" /> @@ -82,6 +83,7 @@ + @@ -117,9 +119,9 @@ AfterTargets="AfterResolveReferences" Condition="'$(RuntimeFlavor)' == 'Mono'"> - + Date: Tue, 11 Jun 2024 18:50:47 -0400 Subject: [PATCH 2/3] Update src/libraries/externals.csproj Co-authored-by: Elinor Fung --- src/libraries/externals.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj index 68fa01bcb1fe95..509cb0c9477782 100644 --- a/src/libraries/externals.csproj +++ b/src/libraries/externals.csproj @@ -27,7 +27,8 @@ - <_HostSymbols Condition="'$(TargetOS)' != 'windows'" Include="$(DotNetHostBinDir)$(LibPrefix)*$(LibSuffix)$(SymbolsSuffix)" /> + <_HostSymbols Include="$(DotNetHostBinDir)$(LibPrefix)hostfxr$(LibSuffix)$(SymbolsSuffix)" /> + <_HostSymbols Include="$(DotNetHostBinDir)$(LibPrefix)hostpolicy$(LibSuffix)$(SymbolsSuffix)" /> From c0b4e9c54586f0974a17588b064542db0cac5b14 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Thu, 13 Jun 2024 15:51:34 -0400 Subject: [PATCH 3/3] Make sure the symbol files exist before adding them to --- src/libraries/externals.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj index 509cb0c9477782..5aec1c8d2a6923 100644 --- a/src/libraries/externals.csproj +++ b/src/libraries/externals.csproj @@ -84,7 +84,7 @@ - +