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.
- List of Syncfusion NuGet packages/Assemblies used and its version.
- Platform and .NET Framework version of your project.
Please let us know if any concerns.
Regards,
Manikandaprabu.T