I am usign Spire.Doc 9.4.1 , I need to convert an XLS file to PDF file so I install Spire.Xls 9.4.0 and has de code
Workbook workbook = new Workbook();
workbook.LoadFromStream(excel_stram);
workbook.SaveToStream(ms3, Spire.Xls.FileFormat.PDF);
var xlsx_pdf = new PdfDocument(ms3);
But in Workbook workbook = new Workbook(); i get the error The type initializer for 'sprឳ' threw an exception
The proyect in in .net 5
What can i do to get this error (" The type initializer for 'sprឳ' threw an exception")