Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Aug 19, 2024 10:12 am

Good morning,

I work with a visual basic solution using visual studio community.

I have a reference to spire.xls.dll version 13.1.1.0.

When I try to debug I get the following error:

No se puede cargar el archivo o ensamblado 'Spire.Pdf, Version=10.6.25.0, Culture=neutral, PublicKeyToken=663f351905198cb3' ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.

If I add a reference to spire.pdf version 10.6.25.0, I get the error:

No se puede cargar el tipo 'sprᩜ' del ensamblado 'Spire.XLS, Version=13.1.1.0, Culture=neutral, PublicKeyToken=663f351905198cb3' porque intenta implementar una clase como interfaz.

I have tryed several combinations, but every time a execute the instruction:
Dim wb As Spire.Xls.Workbook = New Spire.Xls.Workbook
I get an exeption.

Could you please guide me on how to correct this?

Thanks,

Luis.

lgomezb
 
Posts: 4
Joined: Wed Apr 17, 2019 6:45 am

Tue Aug 20, 2024 7:52 am

Hello,

Thank you for your inquiry. Kindly note that our Spire.xls old version 13.1.1.0 depended on Spire Pdf.dll 9.1.0,if other versions introduced in your project, then there will have compatibility conflicts. Please remove all Spire.Xls.dll and Spire.Pdf.dll from your project, clear and rebuild your project, then reinstall the Spire.xls 13.1.1 via nuget. Or you can install the latest version (Spire.XLS Pack(Hotfix) Version: 14.8.2) which no longer depends on Spire Pdf.dll now. If you have any other questions, please feel free to write to me.

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 283
Joined: Mon Jul 15, 2024 5:40 am

Return to Spire.XLS