Our application uses both GroupDocs.Comparison and the Aspose suite. We recently had issues with GroupDocs.Comparison 18.7.1, comparing two very simple plain .docx files.
When running Comparer.Compare in our app, the resulting document looked exactly like the “target” argument, and thus showed no changes.
When trying the same files with a simple standalone app that only referenced GroupDocs.Comparison (not any Aspose lib), it worked fine.
Investigating further, we noted that CountOfErrors in the ICompareResult instance returned was == 1 in our app. Digging through the result object we found the error message in the title:
Method not found: ‘System.Collections.IEnumerator Aspose.Words.CompositeNode.GetEnumerator()’.
Our app used GroupDocs.Comparison 18.7.1 and Aspose.Words 18.8.0. After upgrading GroupDocs.Comparison to 18.8.0, things worked fine again.
It’s not always possible for us to sync the versions of GD.C and A.W - if that somehow is an implicit requirement for running them both in the same app? What possibilities are there to run e.g. GD.C 18.7.1 and A.W 18.0.0 together?
The error reporting in Comparer.Compare is also quite lackluster - I personally would have expected the above to generate an exception, or that ICompareResult had an accessible property with error information. Now there’s only an error count, but no actual error information. Or am I missing something there?