From 60605fb16b2eeb493c3a42c9f5e1fcc47552d787 Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Wed, 3 Apr 2024 10:27:49 -0700 Subject: [PATCH] Specify framework on lcm build so building with dotnet 8 works --- Build/buildLocalLibraries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/buildLocalLibraries.sh b/Build/buildLocalLibraries.sh index be836b7384..767dd359af 100755 --- a/Build/buildLocalLibraries.sh +++ b/Build/buildLocalLibraries.sh @@ -43,7 +43,7 @@ function delete_and_pack_liblcm { (cd "$liblcm_dir/artifacts" && rm *nupkg) echo "Running 'dotnet pack' in the liblcm directory: $liblcm_dir" - pack_output=$(cd "$liblcm_dir" && dotnet pack -c Debug) + pack_output=$(cd "$liblcm_dir" && dotnet pack -c Debug -p:TargetFrameworks=net461) # Extract version number using regex if [[ $pack_output =~ $version_regex ]]; then