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

Free Support Forum - aspose.com

Could not load file or assembly Aspose.XXXXX


I have added Aspose.cells and Aspose.Pdf using NuGet package.
The library just works fine on my local dev environment, but when I deploy the same to Azure, the application keeps throwing error :

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

I checked and re-checked there are references to System.Drawing already present in my project.

What could I have done wrong? Any help would be appreciated.



Thanks for providing us details.

It looks like an issue of registering latest assembly of Aspose.Cells. Please first remove Aspose.Cells completely from your Azure server. Then remove the reference to older Aspose.Cells.dll (if any) from your project. Also, delete associated files from your project’s bin folder (if present). Then install the latest version of Aspose.Cells 18.10 via its MSI installer from Downloads module. Now add reference to this new Dll in your project (please create a fresh project if possible) and re-build your project.

Hope, this helps a bit.