Seems the license is not working: We have a red alert on the top of the generated doc saying:
Evaluation Warning: The document was created with Spire.Doc for .NET.
The license is set by code:
- Code: Select all
var licence = new XmlDocument();
licence.Load($"{pathToAppData}/license.elic.xml");
var key = licence.LastChild!.Attributes!["Key"]!.Value;
Spire.Doc.License.LicenseProvider.SetLicenseKey(key);
Debugging the code we sure there is a key.
What is wrong?
Please help!!!!! Today we supposed go production