Free Support Forum - aspose.com

Using aspose.cells V4.1.1 under VS2010 and framework v4.0 client profile?

Could it be possible without upgading Cells ?


Whhen i try to generate the upgdaded solution i have an error like :
“Aspose is not declared, Perhaps locked by is protection level” (try to translate from french… sorry)

Thanks for Help

Patrice ROLLAND

Hi,


Well, I am not sure about the issue as you are using very older version i.e. v4.1. But, I think as you are using the version in client profile .NET framework, so you might need Aspose.Cells’s .NET framework client profile version. I am afraid, at that time (when we released v4.1) there was not much concept of client profile version, so, you are getting the issue using the version on VS.NET 2010 client profile .NET framework.

However in latest versions, e.g v5.3.3, 6.0.x, 7.0.0, we provide three types of compiled versions, i.e. .net1.x, .net2.x and .NET framework client profile. So, you should use the dll in net3.5_ClientProfile directory that is used for the console application with Net frame client profile as the target framework of vs.net 2008/2010. For complete reference, please read the readme.txt file in the bin directory.

Thank you.