I faced error when I compiled sample file

Posted by: smt on 28 December 2017, 8:52 pm EST

    • Post Options:
    • Link

    Posted 28 December 2017, 8:52 pm EST

    Hi

    I use ComponentOne WinForm edition.

    When I compiled some sample file, an error has occured.

    An error occurs in some sample files.

    Sample File : ComponentOne Winform Sample FlexGrid → CustomMerge4

    Error : "LC.exe"이(가) 종료되었습니다(코드: -1)

    “LC.exe” was terminated(Code: -1)

    Visual Studio version : 2013

  • 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

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels