I'm using Free Spire.Doc to read a Word file and save it as PDF and I'm getting this error:
- Code: Select all
"Could not load type 'spr2085' from assembly 'Spire.Pdf, Version=3.9.179.4040, Culture=neutral, PublicKeyToken=663f351905198cb3'.":"spr2085
Spire.Doc version is 5.7.0.54020
And the code geting the error is:
- Code: Select all
Document document = new Document();
document.LoadFromFile(<full_path_to_Word_File>);
document.SaveToFile(<full_path_to_PDF_File>o, FileFormat.PDF);
How can I fix this error?
Jorge