We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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);
Aspose.Words.Document document2 = new Aspose.Words.Document(filenameB);
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.