Line 3 throws “The type initializer for ‘Aspose.Pdf.XmpField’ threw an exception.” after upgrading from aspose.pdf.24.1.0 to aspose.pdf.24.5.0 (and also exists in aspose.pdf.24.5.1):
1. var pdfDocument = new Aspose.Pdf.…...UMBcI5VnjxX= #=z9Cxx5hQ=, Boolean #=zAsTCS3TsxU$1) at #=z69m...ContextCallback callback, Object state, Boolean preserveSyncCtx) at System...