From 35543ab252e21c9279e82877c5a9c5634ad281cd Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 16 Nov 2023 23:42:34 +0000 Subject: [PATCH] [C#] Switch to net6.0 for the "target", though unclear if it does much --- c_sharp/build-release-nupkg.sh | 2 +- c_sharp/packaging_artifacts/org.ldk.nuspec | 2 +- genbindings.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c_sharp/build-release-nupkg.sh b/c_sharp/build-release-nupkg.sh index 476a431d..b881848f 100755 --- a/c_sharp/build-release-nupkg.sh +++ b/c_sharp/build-release-nupkg.sh @@ -7,7 +7,7 @@ set -x echo "Checking that required release native libraries are present..." ls packaging_artifacts/runtimes/win-x64/native/ldkcsharp.dll ls packaging_artifacts/runtimes/linux-x64/native/libldkcsharp.so -ls packaging_artifacts/lib/net3.0/csharpldk.dll +ls packaging_artifacts/lib/net6.0/csharpldk.dll cd packaging_artifacts find . | xargs -L1 touch -d "2021-01-01 00:00 UTC" diff --git a/c_sharp/packaging_artifacts/org.ldk.nuspec b/c_sharp/packaging_artifacts/org.ldk.nuspec index 74129edd..66d6a0dd 100644 --- a/c_sharp/packaging_artifacts/org.ldk.nuspec +++ b/c_sharp/packaging_artifacts/org.ldk.nuspec @@ -13,7 +13,7 @@ bitcoin lightning ldk sdk non-custodial - + diff --git a/genbindings.sh b/genbindings.sh index 3ae2da46..81c15294 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -169,8 +169,8 @@ if [ "$2" = "c_sharp" ]; then if [ "$LDK_JAR_TARGET" = "true" ]; then # Copy resulting native binary for inclusion in release nuget zip - mkdir -p c_sharp/packaging_artifacts/lib/net3.0/ - cp c_sharp/bin/Release/net6.0/csharpldk.dll c_sharp/packaging_artifacts/lib/net3.0/ + mkdir -p c_sharp/packaging_artifacts/lib/net6.0/ + cp c_sharp/bin/Release/net6.0/csharpldk.dll c_sharp/packaging_artifacts/lib/net6.0/ mkdir -p c_sharp/packaging_artifacts/runtimes/"$CS_PLATFORM_NAME"/native/ if [ "$IS_WIN" = "true" ]; then -- 2.39.5