Skip to content

Commit

Permalink
Specify framework on lcm build so building with dotnet 8 works
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonleenaylor committed Apr 3, 2024
1 parent f4470b0 commit 60605fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/buildLocalLibraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60605fb

Please sign in to comment.