Aspose.PDF 24.10.0, installed using Nuget.
.NET framework 4.8.1.
Application type is Class Library, I feel like this is important since I do not get the error when running same code/same PDF documents under Windows Form application.
What suggestions do you have?
Code sniplet is
Try
Dim licensePdf As New Aspose.Pdf.License
licensePdf.SetLicense("C:\AsposeTestiing\Aspose.PDF.NET.lic")
Dim Doc1 As New Aspose.Pdf.Document("C:\AsposeTestiing\3n5dmzls.PDF")
Dim Doc2 As New Aspose.Pdf.Document("C:\AsposeTestiing\ctxhwg4u.PDF")
Doc1.Pages.Add(Doc2.Pages)
Doc1.Save("C:\AsposeTestiing\OutFile.PDF")
Catch ex As Exception
End Try
We are not able to reproduce this error in our environment. If possible, can you please share your sample class library project for our reference? Please share it in .zip format so that we can use it to reproduce the error and address it accordingly.
We are unable to use or debug it. If possible, can you please share minimal code application that we could use to replicate the problem in our environment? Can we try to replicate in a console application?