Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Dec 02, 2014 4:33 pm

Hi,

When I am running up my program and attempting to view my word document I am getting the following error message:

“Could not load file or assembly 'Spire.Doc, Version=5.2.0.3035, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.”

I had a version of my program on framework version 3.5. I then uninstalled that version and installed a new 4.5 framework version and got the error.

I am referencing the file to 'Spire.Doc, Version=5.2.0.3040’ and have set "Copy Local" to true in the properties for the reference. But I keep getting the error from a previous build after converting it from .NET 3.5 to .NET 4.5.

Why is the happening? How can this be fixed?

stevenheggie
 
Posts: 60
Joined: Tue Jun 24, 2014 10:32 am

Wed Dec 03, 2014 2:41 am

Hello,

Thanks for your inquiry. Please confirm if there are all references have added into the bin/debug in your program folder, if not, please manually add the dlls from corresponding folder.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Dec 04, 2014 5:16 pm

thank you for your reply i have got this working

stevenheggie
 
Posts: 60
Joined: Tue Jun 24, 2014 10:32 am

Fri Dec 05, 2014 1:15 am

Hello,

Glad to hear that. If there are any questions, feel free to contact us.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc