Error message: This application was built using a trial version of Syncfusion Essential Studio.

Hi there,
I have a community licence - I've also upgraded to Syncfusion Winforms version 19.1.0.54, but I keep getting the error -
Error message: This application was built using a trial version of Syncfusion Essential Studio.

This only happens after building the code into an installer and installing it on my machine, it's somehow not happening when running the code in Visual Studio 2019. I've already generated and added the licence key details correctly in the code before Application.Run()
Is there something missing? Please let me know.
Thanks

3 Replies 1 reply marked as answer

MT Manikandaprabu Thiagarajan Syncfusion Team April 22, 2021 12:17 PM UTC

Hi George, 

Thanks for contacting Syncfusion support. 

Ensure that Syncfusion.Licensing.dll is referred in your project and the proper license key is registered in your application.  

Also, you should set “CopyLocal” to True to Syncfusion.Licensing.dll along with all other Syncfusion assemblies and ensure that the Syncfusion.Licensing.dll assembly also packed and deployed in your installer along with other Syncfusion dependencies. 

Our license keys are version and platform-specific. Please ensure that all the referenced Syncfusion assemblies\NuGet packages are on the same version as license key’s version. 
  
Find below the details to know about generating license key, 
 
 
Find below the details to know about registering license key, 
 
 
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  

If the reported issue is still not resolved,  please share us the following details to check issue from our side,  

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

  1. TargetFrameWork and Platform of your application,
 
  1. Screenshot of the issue

  1. License key registered in your application


Please let us know if any other queries. 

Regards, 
Manikandaprabu.T 


Marked as answer

GE George April 26, 2021 10:48 AM UTC

Thank you for your response. I've tried all the other options you recommended, but I was still having the same problem. Here's a rough screenshot of the problem:

WORKAROUND
I've just noticed though that the [application].exe XML file also has to be included in the installer.
After I included it in the installer as a file, it was added to the Program Files (x86) directory after installation - the problem no longer occurs. This [application].exe XML file contains some basic Syncfusion configuration settings as shown below:


I didn't know this could affect Syncfusion licensing but thanks for all your help, all sorted for now.


KJ Kalap Johnson Peter Paulraj Syncfusion Team April 27, 2021 07:20 AM UTC

Hi George, 

Thanks for the update. 

We are glad that you’ve resolved the problem. Let us know if you need any further assistance on this. 

Regards, 
Kalap Johnson Peter P.

Loader.
Up arrow icon