I have a Visual Studio 2013 solution with WPF project that references myproj project which references
Syncfusion.XlsIO.Base and Syncfusion.Core dlls version: 7.203.0.37 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=7.2.0.37, Culture=neutral, PublicKeyToken=632609b4d040f6b4
ExecutingVersionInfoFromAssembly = Syncfusion.Core.Licensing.FusionLicenseProvider, Syncfusion.Core, Version=7.203.0.0, 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.
So does this embedding work in 2013?
Thanks
Rad