Registering License

While registering SF license, I am getting this error.

What could be missing? I have referenced licensing dll.



3 Replies 1 reply marked as answer

MT Manikandaprabu Thiagarajan Syncfusion Team September 8, 2021 10:40 AM UTC

Hi Jaywant, 

Thanks for contacting Syncfusion support.  
 
It seems the license key is registered in the App class directly. So the reported compilation error has been occurred. 
  
Could you please register the license key in App() constructor inside the class App? 
 
 
 
 
 
The generated license key is just a string that needs to be registered before any Syncfusion control is initiated code in your class library\console application. 

Ensure that Syncfusion.Licensing.dll or nuget package is referred in your project properly. Also, you should set “CopyLocal” as True to Syncfusion.Licensing.dll along with all other Syncfusion assemblies and ensure that the Syncfusion.Licensing.dll assembly also present in the output folder of your application.   
 
 
 

Refer the following documentation link to know more about WPF licensing. 
 
If still the issue persist, please share us the following details.  
  1. List of Syncfusion NuGet packages/Assemblies used and its version.
  2. Platform and .NET Framework version of your project.

Please let us know if any concerns. 

Regards,  
Manikandaprabu.T  
 


Marked as answer

JK Jaywant Kulkarni September 8, 2021 10:47 AM UTC

Thank you !

Yes , It worked when put in a constructor.

Well, the confusion happened because the 'sticky' footer in documentation webpage. 

Pls see screenshot below. 

The sticky footer covered the part of code and hence the confusion.

Please convey it concerned team.





MT Manikandaprabu Thiagarajan Syncfusion Team September 9, 2021 09:17 AM UTC

Hi Jaywant, 
 
Thanks for the update.  
We are glad that you’ve resolved the problem. We will resolve it reported issue asap. 
  
Please let us know if any concerns. 

Regards,  
Manikandaprabu.T  


Loader.
Up arrow icon