Closed cipri-tom closed 8 years ago
I don't know about Fody, but what I would do is add the native dll as an embedded resource, extract it to a temporary location and do a LoadLibrary on that. When you close the application, after you make sure all PdfiumViewer controls are disposed, you can unload the library and delete it.
On Mon, Sep 26, 2016, 21:48 Ciprian Tomoiaga notifications@github.com wrote:
Hi,
Is it possible to embed PdfiumViewer into the exe so that the app can be 'portable', without dependencies? I have tried using Costura.Fody, but somehow the native library cannot be found by PdfiumViewer once this has been embedded.
Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pvginkel/PdfiumViewer/issues/81, or mute the thread https://github.com/notifications/unsubscribe-auth/AAymJl9lWaHJ5iS4EPe8sf8g6IHEtfbGks5quCFugaJpZM4KG66r .
Hi,
Is it possible to embed PdfiumViewer into the
exe
so that the app can be 'portable', without dependencies? I have tried using Costura.Fody, but somehow the native library cannot be found by PdfiumViewer once this has been embedded.Thank you!