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

Include pdfium without extension for Mac OS X runtime #44

Closed
andrei-gubarev opened this issue Jul 2, 2021 · 1 comment
Closed

Include pdfium without extension for Mac OS X runtime #44

andrei-gubarev opened this issue Jul 2, 2021 · 1 comment

Comments

@andrei-gubarev
Copy link

Hello,
I tried to run my solution that is targeted to .Net Framework 4.7 with Mono on mac os x and it returned me the error "pdfium not loaded". Actually, I spent a few hours trying to understand what's the issue until got help from my teammates. My output folder included the file pdfium.dylib but still didn't work. The workaround was to remove extension ".dylib" from the file on the output folder.
The file pdfium.dylib is loaded successfully by .net core apps but not from Mono. Of course, using Mono with the library is a rare case, but one improvement can be to check if the environment is Mono then copy the file without extension or copy both files if runtime is mac os x.

Just wanted to report in case if it can save time to other developers.

@Modest-as
Copy link
Member

Thanks, .NET Framework and mono support was added only as experimental feature, I do not think that we will aim to fully support it due to EOL.

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

No branches or pull requests

2 participants