mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
.NET 7 dependencies missing after updating to 0.1.226 #143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dom2364 on GitHub (Aug 5, 2024).
I just updated from 0.1.220 to 0.1.226 and the .NET dependencies are now missing from the deb package, the only change between the two packages in the below screenshot is the version of Packaging.Targets in Directory.Build.props

Installing the 0.1.226 package with
dpkg -ion Raspberry Pi OS (Debian 12) and then executing results inaussieadsbclient: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directoryThe command I executed to get those packages was
dotnet publish /p:Configuration=Release /p:RuntimeIdentifier=linux-arm /t:CreateDeb /p:PackagePrefix=aussieadsbclient-0.1.220In the project .csproj TargetFramework was net7.0, PublishSingleFile true, SelfContained true, PublishTrimmed true with TrimMode partial