Hello,
I've encountered an issue while using the PdfDocumentView control in our WPF project. Everything works fine, untill the project is packaged for sideloading. When running the application after sideloading, the exception 'DLL Pdfium.dll is not found' is thrown. I've attached a sample project with the complete flow to reproduce this issue.
- A WPF project, with a simple screen that has the pdf viewer control, it loads a PDF file in the Loaded event. Can be run locally and works just fine.
- A packaging project, that creates a sideloadeable packages from the WPF project. A new package can be created by right-clicking the packaging project, and under store, click 'Create App Packages'.
- In the provided sample, there are already generated packages that can be sideloaded right-away, look under 'PdfTest.Packaging\AppPackages'
- To install the existing packages, you will also need to locally install the certificate file, which is in the same directory.
Only after sideloading the package, the issue with the Pdfium.dll appears.
I would kindly like to request some assistance with this matter.
Kind regards,
Floris
Attachment:
WordTestApp_e62e8ed1.zip