bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
789 stars 166 forks source link

NuGet: Add target files to Linux and macOS for Mono support #153

Closed sungaila closed 3 months ago

sungaila commented 3 months ago

Right now there is bblanchon.PDFium.Win32.targets to copy pdfium.dll into the output directory for older .NET Framework projects. This was done for Windows only.

However, there is Mono for Windows, Linux and macOS. So there is a need to copy libpdfium.so and libpdfium.dylib into the output as well.

Please note that .NET (Core) does not need these target files because it deals with native libs itself.

This PR also adds pdfium-linux-musl-arm64/lib/libpdfium.so to the NuGet packages (it contained linux-musl-x64 and linux-musl-x86 so far).

bblanchon commented 3 months ago

Thanks!