Posted 29 December 2017, 12:48 am EST
Hello,
We are not able to reproduce the error with the mentioned sample on VS 2013.
However, the lc.exe error occurs for a number of possible reasons. The most common thing is that when VS creates licenses.licx file, it fills it with specific assembly versions. So, when the application is updated with different version, this file won’t build. Every line in generated file looks like this:
C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.4, Version=4.0.20173.282, Culture=neutral, PublicKeyToken=79882d576c6336da
If it’s the problem, you may fix it by removing everything after assembly name (for every entry in the licenses.licx file):
C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.4
Also, you may try to re-generate licenses.licx file with our tool:
https://www.grapecity.com/en/blogs/licensing-and-licenses-licx-file-licxgenerator-tool/
It might fix other problems like changed control references, etc.
If the issue persists, please refer the “LC.EXE exited with code -1” section under the blog post mentioned below:
https://www.grapecity.com/en/blogs/a-step-ahead-troubleshooting-common-errors-part-ii
Let us know if the issue persists.
Best Regards,
Esha