We have recently bought Aspose.Cells, using version 18.9. We set the licence at startup of our MVC application (global.asa), with this code:
Everything works fine in debug, but in release mode, licence is not found: “Cannot find license ‘Aspose.Cells.lic’”. File is correctly embedded in assembly.
However, this code works in both debug and release mode:
Monitor.Enter(typeof(MyClass)); new License().SetLicense("Aspose.Cells.lic"); Monitor.Exit(typeof(MyClass));
So we think it could be a bug.
We are temporary using the SetLicence overload that takes a stream parameter, which works fine, by previously extracting the file from assembly.