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

Free Support Forum - aspose.com

Error including version in reference


I included Aspose.Cells.dll in the reference and got the following error while trying to publish. Please advise how to fix this. Thanks,

Severity Code Description Project File Line Suppression State
Error Could not load file or assembly ‘file:///C:\TFS\FICafe-Dev\Library\Aspose.Cells.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) FandICafe C:\TFS\FICafe-Dev\FandIcafe\SGEN


Thanks for providing us some details.

Please make sure that you are using Aspose.Cells.Dll assembly compiled on .NET Framework version 2.0, you may get it (after installing Aspose.Cells for .NET (using its MSI Installer)) from “…Bin/net2.0” folder @ your installation directory. This assembly would work fine on any .NET framework version >= 2.0 (i.e., 2.0,3.0,3.5 and 4.0/4.5 etc).

By the way, your issue might occur due to Aspose.Cells being blocked on your system/environment. Please see and browse the following documents/ threads for your reference:

If you still have any issue, kindly create a separate sample project (runnable) with Aspose.Cells for .NET v8.7.2.x, zip it and post us here to show the issue, we will check it soon.

Thank you.