I'm trying to save a PDF file to folder, I'm using Spire.PDF for that.
I'm creating the PdfCodument from a byte[] and when I try to save it to file I get an error message and the program falls.
PdfDocument pdf = new PdfDocument(baseReport);
.
.
.
pdf.SaveToFile("E:\\Temp 2\\" + Guid.NewGuid().ToString() + ".pdf");
The error message says:
Could not load file or assembly 'Spire.License, Version=1.3.8.40, Culture=natural...' or one of its dependencies. The system cannot find the file specified.
The thing is that I have reference to the Spire.License dll and it is from version 1.3.8.40.
What am I doing wrong?
Thank you in advance!