we are using below Aspose cells and Aspose.PDF.Drawing packages.
PackageReference Include=“Aspose.Cells” Version=“24.2.0”
PackageReference Include=“Aspose.PDF.Drawing” Version=“24.2.0”
We have upgraded to .Net 8 version recently, After upgrade we are facing below error while running the app on Linux platform.
Error: System.Drawing.Common is not supported on this platform.
Can you please suggest a solution to resolve the error.
Thanks,
Kartheek
@KartheekReddyGep
First, you need to determine exactly which library (Aspose.PDF.Drawing or Aspose.Cells) throws this exception.
This section covers working with the Aspose.Pdf (Aspose.Pdf.Drawing) product. Support for .Net 8 appeared in it starting with version 24.5 - accordingly, you need to update the package version.
@sergei.shibanov
Am getting the below error in application after upgrading the “Aspose.PDF.Drawing” to the 24.5 version.
Error : The subscription included in this license allows free upgrades until 26 Feb 2024, but this version of the product was released on 17 May 2024. Please renew the subscription or use a previous version of the product.
@KartheekReddyGep
It is written here clearly, no need to comment?
To check
(not in the .Net 8 project, but earlier) please attach the code fragment and data you used.
You should probably separate the code using the Aspose.Pdf and Aspose.Cells libraries
@sergei.shibanov We have upgraded to the 24.5 Version with .Net 8. On my local Windows machine it worked.
But on deployment to the Linux machine, the Aspose is not working.
@KartheekReddyGep
Please extract the code fragment that works with the Aspose.pdf library and attach it with the used document so that I can check it in our environment and suggest something or, if necessary, create a task for the developers.