The included Syncfusion license key is invalid - Only in windows build mode

Hello,

I have renewed my expired license recently, updated the license key, now i got this error constanly in MAUI app if it is running on windows build. If i choose android emulator it works fine(at least for now). I did clean project and rebuild several times on visual studio.

1.PNG


I have updated licence key in app.xaml.cs. Checked three times that i ve copied licence key correctly from my syncfusion profile page

2.PNG


What could be the problem? I have also installed essential studio.exe. Should i set license manager or something?



5 Replies 1 reply marked as answer

JM Jeyaseelan M Syncfusion Team December 29, 2023 07:06 AM UTC

Hi Ertem,


Please, ensure that all the referenced Syncfusion assemblies\NuGet packages are all on the same version(24.1.41) as license key’s version(24.*.*) in your project.


If you have installed the licensed installer, there is no need to register the license key in your application.


If you are using Syncfusion NuGet packages from nuget.org, you should register the corresponding version and platform’s Syncfusion license key in your application to avoid trial license warning.


Syncfusion license keys are version and platform-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated.

To know about generating the license key,
https://help.syncfusion.com/maui/licensing/how-to-generate 

To know about registering the license key,
https://help.syncfusion.com/maui/licensing/how-to-register-in-an-application


Refer to the below KB article to know which version license key should use in the application,
https://support.syncfusion.com/kb/article/7865/which-version-syncfusion-license-key-should-i-use-in-my-application

If still not resolved, please share with us the following details to investigate issue from our side,

  1. List of Syncfusion NuGet packages\assemblies used and its version,


  1. Target framework version of your application.


Regards,

Jeyaseelan M



ER ERTEM December 29, 2023 10:35 PM UTC

Got the issue, i had to select UWP and WinUI apart from MAUI license for the MAUI windows build.

I couldn't find this info, think you should add this to license help docs






Marked as answer

JM Jeyaseelan M Syncfusion Team January 2, 2024 12:38 PM UTC

Ertem,


We have provided single license key (which can used for all the Essential Studio products) support from 22.1.34 and it will work for all the platforms.


If you are unsure about which platform license key to use, please select all the platforms when generating the license key.


To know about generating license key,

https://help.syncfusion.com/common/essential-studio/licensing/generating-license-keys


Find below the knowledge base article to know about which version license key should use in application,
https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application 



AT Amalu Thomas February 27, 2024 04:23 PM UTC

Hi,

I create a new project for my existing app to maui instead of upgrade to maui. When I add the syncfusion license it shows invalid license. What should i do in such case. 

It is a new app created in maui, for the existing xamarin app.


Thanks in advance!



PS Prashanth Sundhar Syncfusion Team February 28, 2024 03:20 PM UTC

Hi Amalu,

 

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 NuGet installed location, deleting the bin\obj folders and rebuild your application, then check whether it resolves the issue?

 

Please, ensure that all the referenced Syncfusion assemblies\NuGet packages are all on the same version as license key’s version in your project and the application hosted location.

 

Syncfusion license keys are version and platform-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated. 

To know about registering the license key,
Overview of Syncfusion license registration - Syncfusion

Refer to the below KB article to know which version license key should use in the application,
https://support.syncfusion.com/kb/article/7865/which-version-syncfusion-license-key-should-i-use-in-my-application

If still not resolved, please share with us the following details to investigate issue from our side,

 

  1. List of Syncfusion NuGet packages\assemblies used and its version,

 

  1. Target framework version of your application.

 

  1. Screenshot of the license key registered place in your project.
  2. License key you are using.

 

Regards,

Prashanth S.

 


Loader.
Up arrow icon