Search code examples
c#aspose.net-framework-versionaspose-cellsassembly-references

Do I need to use an older version of Aspose.Cells.dll?


I am Asposisizing a legacy app (users complained about the slowness of the code, which is in Excel Interop).

I have added a reference to Aspose.Cells.dll and added this using:

using Aspose.Cells;

...but get this compile error:

The type or namespace name 'Aspose' could not be found (are you missing a using directive or an assembly reference?)

Is it because the project's Target framework is set to ".NET Framework 2.0"?

If so, is there an older version of the Aspose.Cells.dll that I can use? Or will I need to increment the target to 4.5?

Here is what I have and what I see:

enter image description here

So is the problem a mismatch between .NET Frameworks targeted and the Aspose.Cells.dll version?


Solution

  • Your assumption is correct. The problem is a mismatch between .NET Frameworks.