NativeLibraries project that contains the required shared libraries as Content elements in .csproj:NativeLibraries project. When I build it, everything is fine, the native libraries are nicely placed in runtimes/* folder in the build directory of the main application.dotnet publish -r linux-arm) but are still present in runtimes/linux-arm/native folder. Unlike for example SkiaSharp (that I also use). The native libraries of SkiaSharp are correctly copied directly to the publish output directory. SkiaSharp doesn't seem to be particularly clever here:PackageFile is expanded as follows:Content element. I tried adding this Pack as well but it didn't help.