This section describes how to generate the license for the compiled code or specifically for the applications deployed on Azure Functions application. By default, licensing is applied to your main application. In case ActiveReports is embedded in a custom library, that is called by another application, a "license not found" error is shown. Therefore, you need to generate a license file for the target application.
For example, there is a 'UserControlLibrary' project with ActiveReports libraries embedded and a 'MainApp' project that references the 'UserControlLibrary'. To generate license for the specified target application, follow these steps:
C:\ProgramData\MESCIUS\gclm
gclm.exe "463c4179-288c-48fe-a4df-3b609586667d" -lc [output dir].gclicx "[entry assembly name].[calling assembly name].dll"
C:\ProgramData\MESCIUS\gclm>gclm.exe "463c4179-288c-48fe-a4df-3b609586667d" -lc ./.gclicx "MainApp.UserControlLibrary.dll"
gclm.exe "463c4179-288c-48fe-a4df-3b609586667d" -lc .\.gclicx Microsoft.Azure.WebJobs.Script.WebHost.[assembly name].dll
<PropertyGroup>
<DisableGclm>true</DisableGclm>
</PropertyGroup>