I am using Aspose.PDF 19.2 version. Since I have license for this version.
I am including the license file in the zip file which I am uploading to lambda function.
But I am getting the System.Exception with the following code.
var license = new Aspose.Pdf.License();
var licensePath = “Aspose.Total.lic”;
license.SetLicense(licensePath);
I am able to log the content of the license file.
And also I have tried license file with Embedded resource. But getting the same error.
The same code works fine with .net frame work 4.6
Can you please help me out.