From 72ce2bed1f5d14289f0747ce1dfac13aea074612 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Thu, 12 Jun 2025 14:46:53 +0200 Subject: [PATCH 1/2] Include Debug Symbols --- src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj b/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj index 65ea38e5541..d02600295a7 100644 --- a/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj +++ b/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj @@ -12,6 +12,7 @@ false false 03db39d0-4200-473e-9ff8-4a48d496381f + embedded From c090d5330be03b5e08eccc1121ffa6cfa3b59fdb Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Thu, 12 Jun 2025 16:00:13 +0200 Subject: [PATCH 2/2] Embed debug symbols into distribution package --- scripts/build/build.sh | 2 +- src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build/build.sh b/scripts/build/build.sh index 410d7af9bc9..fc07af4c12b 100755 --- a/scripts/build/build.sh +++ b/scripts/build/build.sh @@ -17,7 +17,7 @@ for rid in "linux-x64" "linux-arm64" "win-x64" "osx-x64" "osx-arm64"; do dotnet publish -c $build_config -r $rid -o $output_path/$rid --sc true \ -p:BuildTimestamp=$2 \ -p:Commit=$1 \ - -p:DebugType=none \ + -p:DebugType=embedded \ -p:IncludeAllContentForSelfExtract=true \ -p:PublishSingleFile=true diff --git a/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj b/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj index d02600295a7..65ea38e5541 100644 --- a/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj +++ b/src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj @@ -12,7 +12,6 @@ false false 03db39d0-4200-473e-9ff8-4a48d496381f - embedded