We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Could not load file or assembly 'Aspose.Words

Hi


Im try convert doc file to PDF format. Here my core

Aspose.Words.Document doc = new Aspose.Words.Document(docPath.OtherPath + @"" + item.Name);
doc.Save(docPath.OtherPath + @"" + “outBook.pdf”, Aspose.Words.SaveFormat.Pdf);

I’ve the next error:

Could not load file or assembly ‘Aspose.Words, Version=15.9.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. The system cannot find the file specified.

The Framework from my solution is 4.5. I add the aspose.words.dll FW 3.5 but the this not work.

Help!

rsreyes

Hi Rsreyes,


Thanks for your inquiry. Please
first remove Aspose.Words completely from your system. Then remove the
reference to old Aspsoe.Word.dll from your project. Also,
delete associated files from your project’s bin folder if present. Then
install the latest version of Aspose.Word via msi installer. Add
reference to this new DLL in your project and re-build it. Please let us
know how it goes on your side. I hope, this will help.

PS: To
check version of the library, right click on the dll, select Properties
from the context menu, then select Details/Version tab. You will see
File version.