We found an issue. We tried to upgrade our project to the latest Aspose.Slides assembly i.e. “23.10.0” from “21.11.0”. The license we have is valid till next year.
FYI,
<SubscriptionExpiry>20221124</SubscriptionExpiry>
But when we merge the PowerPoint files using this trial version it is giving us “evaluation watermark”.
The license file’s build action is set to “Embedded Resource” and copy to output directory is set to “Always”.
We are setting the license file in our Main() program.cs as below.
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
SetAsposeSlidesLicense();
Application.Run(new Form1());
}
private static void SetAsposeSlidesLicense()
{
try
{
// VVIMP: Aspose library can find the license file if it is included as a part of Paris.Project(Paris Assembly) with BuildAction= 'Embedded Resource' and CopyToOutputDirectory='Always',
// No need to map it through AppSettings.config file, since very difficult to add the key in individual config file for each server/client.
Aspose.Slides.License license = new Aspose.Slides.License();
license.SetLicense("Aspose.Slides.NET.lic");
}
catch (Exception ex)
{
ExceptionLog.LogException(ex, string.Format("Error Occured while applying Aspose.Slides License! Details:{0}", ex.Message));
}
}
}
Let us know if you need our sample project or license information to analyze further?
FYI, it is licensed under “Investment Metrics”.