Evaluation Only Message shows with valid license on .NET MAUI

Product and version:
Aspose.Words, Version 21.8.0
Use Case:
C# .NET MAUI Cross Platform Mobile application ( Android, iOS, WinUI)
Issue:
Generating PDF reports shows the “Evaluation Only. Created with Aspose.Words…” watermark message.

Description:
Migrated Xamarin.Forms application to .NET MAUI, and the version of Aspose.Words we purchased (21.8.0) is showing the “Evaluation Only…” message.

We load the license from file as instructed on the website, Licensing and Subscription|Aspose.Words for .NET.

Expected Results:
Aspose.Words version 21.8.0 works in .NET MAUI as it did in Xamarin.Forms.

Current Results:
Aspose.Words version 21.8.0 shows “Evaluation Only…” message on pdf generation on .NET MAUI application with valid license.

@s.torres Please check the following points:

  • Make sure your call to SetLicense gets executed. Step through in the debugger.
  • Make sure your code does not catch an exception thrown by Aspose.Words licensing code. For example, Aspose.Words will throw if it cannot find the license.
  • Make sure the input documents do not already have the evaluation message. Aspose.Words does not delete existing evaluation messages.
  • Make sure SetLicense is executed before you instantiate any Document object.