Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sun Feb 05, 2017 7:32 pm

I download the two Nuget packages yesterday and after using a couple of times, I am getting an error, as follows:

{"Could not load file or assembly 'Spire.Doc, Version=5.7.0.54020, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Spire.Doc, Version=5.7.0.54020, Culture=neutral, PublicKeyToken=663f351905198cb3"}

I have unistalled and reinstalled from the 'Manage Nuget PAckages' in Visual studio 2015, but still the same error.

It worked OK up to this point.

Can you explain a fix for this please.

Thanks.

mdatac
 
Posts: 2
Joined: Sun Feb 05, 2017 7:26 pm

Mon Feb 06, 2017 1:39 am

Hi,

Thanks for your inquiry.
Kindly note that alone two libraries can't be used in the same project, if you want to use two or more products in the same project, you must download Spire.Office and then reference corresponding dlls from it. So please uninstall the Spire.Doc and Spire.PDF Nuget packages, and then use Spire.Office.
If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Feb 06, 2017 3:53 am

Thanks for the quick response - will try.

mdatac
 
Posts: 2
Joined: Sun Feb 05, 2017 7:26 pm

Return to Spire.PDF