I have a piece of code that loads a PDF Viewer which fails with this error:
2018-09-17 17:44:34,498 [9f3d5f4d] ERROR JobBusinessLogic.JobController [(null)] - Method not found: 'Void Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView.Load(Syncfusion.Pdf.Parsing.PdfLoadedDocument)'.
System.MissingMethodException: Method not found: 'Void Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView.Load(Syncfusion.Pdf.Parsing.PdfLoadedDocument)'.
when calling into the method where this line is located:
pdfViewer.Load(pdfLoadDoc);
This works fine on my Windows 10 machine in Visual Studio 2017, but when built and put on the server (Windows 2012 R2) as a Windows Service I get the above error. This is version 13.3.0.7 of SyncFusion. I have the SyncFusion components installed on this server as well (it's also the build server). Other SyncFusion calls work, it's just this method that it says is missing.