|
Query |
Details |
|
with this example the creation of thumbnails works but I cannot generate a pdf as in the example (https://help.syncfusion.com/file-formats/pdf/working-with-document)
the error is "Could not load file or assembly 'Syncfusion.Licensing, Version=18.3450.0.53, Culture=neutral, PublicKeyToken=632609b4d040f6b4'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
also does not recognize "new Syncfusion.Drawing.PointF".
|
We have checked the provided sample on our end, but it is working properly. We were not able to reproduce the exception on our end. The reported exception might be due to a mismatched product version of Syncfusion assemblies. So, we request you to refer to the same product version of Syncfusion assemblies to resolve this issue. Please refer to the below link,
For the MVC application, we have to use Syncfusion.Pdf.AspNet.Mvc5 NuGet package, but the package. "new Syncfusion.Drawing.PointF" is available only in the PDF Net Core package. So if you are using the .Net Core platform, kindly install “Syncfusion.Pdf.Net.Core" in your project
|
|
I can generate the pdf with the "Syncfusion.Pdf.Net.Core" package but it conflicts with the libraries of the example posted (Syncfusion.Pdf.AspNet.Mvc5, Syncfusion.EJ2.PdfViewer.AspNet.Mvc5) |
Based on the provided details, we suspect that you are using the .Net Core platform, so kindly install the “ Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows” package in your project to export the image using the EJ2 PdfViewer server library.
For Linux and OSX operating systems, use the corresponding libraries as follows:
· Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux
· Syncfusion.EJ2.PdfViewer.AspNet.Core.OSX
Refer to the below UG link to the export image using the EJ2 PDF Viewer server library
https://ej2.syncfusion.com/aspnetcore/documentation/pdfviewer/how-to/export-as-image/
|