I have a Visual Studio 2013 solution with WPF project that references myproj project which references Syncfusion.XlsIO.Base and Syncfusion.Core dlls version: 18.104.22.168 with Copy Local set to True, Specific Version to False. My target .net framework is .net 4.5.1
I have the file: licenses.licx with content: Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core
manually added to my C#.net class library project as an embedded resource as can be seen: myproj.csproj: <ItemGroup> <EmbeddedResource Include="licenses.licx" /> </ItemGroup>
I followed all articles from Syncfusion about enabling runtime license embedding, but no luck. I compile just fine and when I run it in Debug mode I got a prompt "Fix it" when trying to produce an Excel Report with the following error:
Syncfusion Licensing System - Detailed diagnostics. ErrorKind = RuntimeNoLicx UsageMode = Runtime IsAspDotNet = False RuntimeLicenseKey = No runtime license key found in licx. ExecutingVersionInfo = Syncfusion.Core, Version=22.214.171.124, Culture=neutral, PublicKeyToken=632609b4d040f6b4 ExecutingVersionInfoFromAssembly = Syncfusion.Core.Licensing.FusionLicenseProvider, Syncfusion.Core, Version=126.96.36.199, Culture=neutral, PublicKeyToken=632609b4d040f6b4 ErrorMessage = Unable to grant a runtime license. Please ensure that the project was compiled with an appropriate licenses.licx file as an embedded resource. Clicking the button below will launch a utility that will adjust your project settings appropriately. No Assemblies with licenses.licx resource found. No Syncfusion.Core entries found in licenses.licx files.
I have Visual Studio 2010 and I do the same thing and I am not getting this error at run time.