System.Exception: Exception of type 'System.Exception' was thrown. in .net 8 with aspose.pdf version 19.11.0

We are facing a persistent error: “System.Exception: Exception of type ‘System.Exception’ was thrown.” while setting the license in .net 8 API.

Our current license expired on 11 December 2019, and it supports Aspose.PDF version 19.11.0. However, we have verified that this error has been resolved in the latest version 25.1.0 of the Aspose.PDF NuGet package, which is not covered by our existing license.

What would be the solution to fix the issue with Aspose.PDF version 19.11.0.

@jayeshkumar

The support for .NET 8 was added after it was released and it released recently. Its support is present and implemented in the latest version(s) of the API. Therefore, we are afraid that this issue will not be resolved in 19.11 version which is an older one. Please upgrade to the latest version to keep using the API with .NET 8. Feel free to let us know in case you have any other inquiry.

Thank you for sharing the details.