]> git.bitcoin.ninja Git - ldk-java/commitdiff
[C#] Switch to net6.0 for the "target", though unclear if it does much
authorMatt Corallo <git@bluematt.me>
Thu, 16 Nov 2023 23:42:34 +0000 (23:42 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 16 Nov 2023 23:43:44 +0000 (23:43 +0000)
c_sharp/build-release-nupkg.sh
c_sharp/packaging_artifacts/org.ldk.nuspec
genbindings.sh

index 476a431d09a923e911e7b21421b7500e53f33be7..b881848f4fa88a9ba7527718f1c72763567731e5 100755 (executable)
@@ -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" 
index 74129edd346447e8aacd80dec7bd608838da8640..66d6a0dd439890de566dd7a4b9849967742015f9 100644 (file)
@@ -13,7 +13,7 @@
     <tags>bitcoin lightning ldk sdk non-custodial</tags>
     <repository type="git" url="https://github.com/lightningdevkit/ldk-garbagecollected" />
     <dependencies>
-      <group targetFramework="net3.0" />
+      <group targetFramework="net6.0" />
     </dependencies>
   </metadata>
 </package>
index 3ae2da46525e80ec4fb59482c02d644d701a36f2..81c15294c8fbda87b987cccde53461fa3c6d65a1 100755 (executable)
@@ -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