Recently we updated Aspose PDF library(dll) from version 23.12 to 24.9 . I have taken dll from the zip folder -Aspose.PDF.24.9.net40.
and when I build, published and run my application, it is throwing exception saying " The type initializer for Module threw an exception"
If I revert back to the old library (23.12), it runs without any issue, how can I solve it for newer version of dll(24.9) We have licensed user and have valid latest license for the above.
Target version of our product is .Net Framework 4.8
support screenshot.png (16.8 KB)
The same we were using for earlier versions(say 23.12) of Aspose PDF dll.
@IqviaPal
Framework 4.8 support is discontinued in the latest versions. You can get a DLL with 4.8 support here.
Download .NET Component DLL to Process PDF | Aspose.PDF API…
Please note the warning (underlined on the screenshot).