Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed May 29, 2024 4:52 pm

Since updating my project to .NET 8.0 (from .NET 7.0), XLS documents that I edit now contain the evaluation warning. However, PDF documents do not contain the warning. This is the code I've been using to load the license, based on a past forum post I found:

Code: Select all
var license = builder.Configuration.GetSection("SpireOffice:License").Value;
Spire.Doc.License.LicenseProvider.SetLicenseKey(license);
Spire.Pdf.License.LicenseProvider.SetLicenseKey(license);
Spire.Pdf.License.LicenseProvider.LoadLicense();
Spire.Xls.License.LicenseProvider.SetLicenseKey(license);
Spire.Xls.License.LicenseProvider.LoadLicense();


I'm using version 9.4.0 of Spire.Office.

ben.rosenthal
 
Posts: 1
Joined: Wed May 29, 2024 4:46 pm

Thu May 30, 2024 1:52 am

Hello,

Thank you for your inquiry.
I am sorry to inform you that your license expired on April 19th.
Our Spire.Office 9.4.0 includes Spire.Doc.dll v12.4.7.0, Spire.Pdf.dll v10.4.7.0, and Spire.XLS.dll v14.4.7.0. Among them, Spire.Pdf v10.4.7.0 was compiled on April 19th, while the other two components were compiled afterwards. Therefore, you will not encounter warning watermarks when using the PDF component, but you will encounter watermarks when using the other two components. If you are only using these three components, we recommend that you remove Spire.Office and then introduce the individual components separately: Spire.PDF 10.4.7, Spire.Doc 12.3.12, and Spire.XLS 13.3.3.
If there's still any issue, just feel free to contact us again.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 416
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.XLS