Hi.
Have a problem to set the license ‘Aspose.Total.NET.lic’.
We have a common library with Aspose nuget packages, which has static methods to set license, for example:
public static class SetAsposeLicense
{
public static void PdfLicense()
{
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(“Aspose.Total.NET.lic”);
}
…
When calling the PdfLicense method(maybe Aspose.Cells.License or others) from other libraries, we often get the error: System.IO.FileNotFoundException: Cannot find license ‘Aspose.Total.NET.lic’.
How to fix it?
NET Core 6.0
Aspose version 23+