From: Matt Corallo Date: Thu, 16 Nov 2023 23:42:34 +0000 (+0000) Subject: [C#] Switch to net6.0 for the "target", though unclear if it does much X-Git-Tag: v0.0.118.0-alpha1~5 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=35543ab252e21c9279e82877c5a9c5634ad281cd;p=ldk-java [C#] Switch to net6.0 for the "target", though unclear if it does much --- 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