I downloaded Aspose.Cells from http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/default.aspx and what I was particularily concerned about http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry586606.aspx Then, I opened the archive and chose the library inside net3.5 Now when I check the library in an assembly explorer like dotPeak it reports it was build on .NetFramework4. This is an inconsistency as I am looking for the library that I can use in a project that targets the .Net 3.5 framework.
Yes, we noticed it as you mentioned while check the Aspose.Cells for .NET assemblies with doPeak (https://www.jetbrains.com/decompiler/) from “/net3.5” folder at the installation directory, we will check it out soon. I have logged a ticket with an id “CELLSNET-43193” for your issue into our database. We will either provide details why doPeak is showing .NET framework 4.0 platform or fix it accordingly.
In the mean time, we recommend you to kindly use Aspose.Cells.Dll file from the net2.0… folder. The assembly would work fine on any of your .NET framework version >= 2.0 (i.e., 2.0, 3.0, 3.5, 4.x etc.)
We have evaluated your issue further.
We found it is actually a bug or behavior of JetBrains doPeak tool. For confirmation, we just created a test Assembly in
VS.NET2010 (without involving Aspose.Cells.Dll) whose target framework version is 3.5, we compiled the assembly (i.e., ClassLibrary3.dll). When we open the assembly into doPeak and check its properties, we found it also refers to “.Net Framework v4.0” as platform, so it is not a bug in Aspose.Cells component. I have attached the zipped file that contains the test assembly and project for your reference, please check it out.
By the way, you may confirm in
VS.NETif we refer to Aspose.Cells.dll for net3.5 and then build the project for net3.5, everything works fine and as expected.
Let us know if you still have any confusion.