.NET 7 dependencies missing after updating to 0.1.226 #143

Open
opened 2026-01-29 16:30:34 +00:00 by claunia · 0 comments
Owner

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
image

Installing the 0.1.226 package with dpkg -i on Raspberry Pi OS (Debian 12) and then executing results in aussieadsbclient: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

The command I executed to get those packages was dotnet publish /p:Configuration=Release /p:RuntimeIdentifier=linux-arm /t:CreateDeb /p:PackagePrefix=aussieadsbclient-0.1.220

In the project .csproj TargetFramework was net7.0, PublishSingleFile true, SelfContained true, PublishTrimmed true with TrimMode partial

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 ![image](https://github.com/user-attachments/assets/4c9dd219-59ec-428c-ba61-c6a0fb33ada1) Installing the 0.1.226 package with `dpkg -i` on Raspberry Pi OS (Debian 12) and then executing results in `aussieadsbclient: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory` The command I executed to get those packages was `dotnet publish /p:Configuration=Release /p:RuntimeIdentifier=linux-arm /t:CreateDeb /p:PackagePrefix=aussieadsbclient-0.1.220` In the project .csproj TargetFramework was net7.0, PublishSingleFile true, SelfContained true, PublishTrimmed true with TrimMode partial
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#143