I am unable to get PDFNetLoader to work correctly with an Outlook AddIn


I need to support either 32 or 64 bit Outlook, but after adding PDFNet and PDFNetLoader to my addin project, it never loads PDFNet at all.


By default PDFNetLoader is looking for a folder called “PDFNet” in the current working directory, but this folder is probably in a different folder.

In particular for Office AddIns, try setting the PDFNetLoader Path to AppDomain.CurrentDomain.SetupInformation.ApplicationBase.

private static pdftron.PDFNetLoader loader = pdftron.PDFNetLoader.Instance().Path(AppDomain.CurrentDomain.SetupInformation.ApplicationBase);