Posted 21 January 2024, 12:52 am EST
Hi Andreas,
The content of the gclicx file is generated based on the information like project name, product code, license key details and machine name. When a project containing C1 references is updated or any of its dependent projects is modified, the project build action regenerates the gclicx file. Please note that the actual content of the gclicx file remains unchanged, but it is regenerated. The regeneration serves as a check by our licensing model to verify the proper licensing of the build machine.
We would like to outline some case scenarios showing exactly when the gclicx file is regenerated. To demonstrate this, we have developed a sample project(A) that includes C1 references and has two project references. One of these dependent projects(B) contains the C1 reference, while the other one(C) does not.
-
Clean build the main project: A, B and C all gets rebuild. Gclicx file regenerated for A and B. Refer https://www.dropbox.com/scl/fi/ayf0qls495jeu8ekeg0ph/First_build.mp4?rlkey=fkx5t6dh33fsyww30ceazw7ta&dl=0
-
Update the main project(A) and build it: On A gets rebuild. Gclicx file regenerated for A only. Refer https://www.dropbox.com/scl/fi/p7q37wg1z773uvwho02bm/ChangeMainProj.mp4?rlkey=4nlw9if0oqap2bh91uj1q5qbt&dl=0
-
Update dependent project containing C1 reference(B) and build main project(A): Only A and B gets rebuild. Gclicx file regenerated for A and B. Refer https://www.dropbox.com/scl/fi/3nxa83j4clfb2d0103gxw/ChangeC1DepProj.mp4?rlkey=hdr21i46zo12gx5y07ha0jwpi&dl=0
-
Update dependent project that does not contain C1 reference(C) and build main project(A): Only A and C gets rebuild. Gclicx file regenerated for A. Refer https://www.dropbox.com/scl/fi/ty9wat8v3qc1jyjkw4ryn/ChangeWOC1Dep.mp4?rlkey=a26f0qvoamkc9zqpccmtynhq3&dl=0
The scenario is same if you build the entire solution instead of building the main project.
Please see the attached sample application for reference.
TestC1App.zip
This shows that the gclicx file for the dependent project is not regenerated until you clean-build or rebuild the main project, or make changes in the dependent project. Therefore, we request you please update the attached sample based on your use-case scenario so that we can understand your requirement in a better way.
Furthermore, we kindly request the following information for further analysis of this issue:
- The specific performance issues you are encountering due to this.
- The exact reason for wanting to disable the regeneration of the gclicx file.
- Where you are utilizing your dependent projects.
- A detailed explanation of your project structure for a better understanding of your use-case.
In case you are not comfortable in providing these details on this public forum, please feel free to generate a support ticket on our private support portal at https://developer.mescius.com/my-account/my-support. This will ensure that the information remains confidential and is accessible only to our team.
Thanks & Regards,
Aastha