Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

sungaila
Copy link
Contributor

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 bblanchon merged commit bce41f1 into bblanchon:master Jan 23, 2024
@bblanchon
Copy link
Owner

Thanks!

@sungaila sungaila deleted the nuget-mono-support branch January 23, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants