Cannot compare two pdf files using aspose word on .Net 8

Hi there,

I have a C# .Net 8 framework solution and I am trying to do the following, but get an error stating, pdf format is not support, please use .Net 6.1 framework.

Aspose.Words.Document document1 = new Aspose.Words.Document(filenameA);
document1.AcceptAllRevisions();
Aspose.Words.Document document2 = new Aspose.Words.Document(filenameB);
document2.AcceptAllRevisions();
document1.Compare(document2, “Name”, DateTime.Now);

Is this normal…?

@BrianFeeeny It looks like you try loading PDF document. Loading PDF document is supported in .NET Framwork 4.6.1, .NET Standard 2.0 and .NET6 versions of Aspose.Words. So this feature is available in .NET Framework 4.6.1+, .NET Core 2+ and .NET5+.

Also, this feature is supported in Python version of Aspose.Words.