BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
I have the license key sent to me via email but each time I get an error message, "he included Syncfusion license key is invalid" with the options of OK and "Claim License".
//this code fails everytime within the App.xaml.cs file constructor.
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("my license key");
this is a .NET MAUI and I copied the key to the clipboard from the "Claim License Key" page.
Hi
Prince,
We have checked the Syncfusion MAUI packages v29.* with the shared license key
in the chat, and the reported issue is not replicated to us. Refer the
screenshot below.
We suspect that there is a version mismatch in the Syncfusion
assemblies/NuGet packages while upgrading to v29.1.33. Please ensure
that all the referenced Syncfusion NuGet packages/assemblies in your
project are on the same version (v29.1.33) as the license key.
Sometimes, old Syncfusion packages might be referred from NuGet cache in the project.
So, could you please try cleaning your project, clear the NuGet cache from both “%userprofile%” folder and the NuGet installed location, deleting the bin\obj folders and rebuild your application, then check whether it resolves the issue?
Syncfusion license keys are major version and product-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated. Please ensure that you have registered the license key in the entry point of your application.
If you
use Syncfusion assemblies from NuGet
packages (nuget.org), and if you're upgrading from
one major version to another, such as from v28.* to
v29.* you should generate and register the
corresponding version and product license key in your projects to
prevent trial license warnings
Refer to the following documentation link to get the corresponding version
Syncfusion license key.
https://help.syncfusion.com/maui/licensing/how-to-generate
Refer to this link for registering the license key,
https://help.syncfusion.com/maui/licensing/how-to-register-in-an-application
If you are still facing the issue, try registering the license key in
MauiProgram.cs.
Find below the knowledge base article to know about which version license key should use in application,
Sometimes, old Syncfusion packages might be referred from NuGet cache in the project.
So,
could you please try cleaning your project, clear the NuGet cache from both
“%userprofile%” folder and the NuGet installed location, deleting
the bin\obj folders and rebuild your application, then
check whether it resolves the issue?
If the reported issue is still not resolved, please share us the following details to check issue further from our side,
Let us know any concerns.
Regards,
Kalaiyarasu R