C1MultiSelect broke my project

Posted by: dean.bashore on 1 September 2021, 10:46 am EST

    • Post Options:
    • Link

    Posted 1 September 2021, 10:46 am EST

    I have two C1Checklists in my project. I just tried to add a C1MuliSelect to evaluate the differences. When I tried to build I got a slew of ambiguous name errors that I didn’t before. (My guess was that it added a reference to C1Input 2.0 even though I dragged the control from the 4.5.2 section of the toolbox.

    ------ Build started: Project: User Account Admin Windows Controls, Configuration: Debug Any CPU ------

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(4): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1TextBox, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(6): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1DateEdit, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(9): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1Label, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(10): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1ComboBox, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(12): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1Button, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    1>C:\Users\dbashore\source\repos\User Account Admin Windows Controls\My Project\licenses.licx(13): error LC0003: Unable to resolve type ‘C1.Win.C1Input.C1CheckBox, C1.Win.C1Input.2, Version=2.0.20211.492, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a’

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    I removed the control (MultiSelect) and the reference to Input 2.0 and now I get this.

    If I add 2.0 back I get a huge list of ambiguous errors. I’m now stuck and cannot re-build my project.

  • Posted 2 September 2021, 6:17 am EST

    Hello Dean,

    This error usually occurs when there is an entry of a C1 assembly in the licenses.licx file of the project, however the reference to the same assembly has not been added.

    Please remove the licenses.licx of your project and then drop the control on the form; it will create the new file with correct entries.

    If you are using other assemblies of 2.0 FW and C1MultiSelect of 4.5.2 FW, please update all the assemblies to a single FW control.

    The 2.0 and 4.0 FW controls are in maintenance mode, so I suggest you upgrade all your assemblies to 4.5.2 FW.

    I removed the control (MultiSelect) and the reference to Input 2.0, and now I get this.

    Is there any image or information that you missed to attach in support of this statement?

    To learn about C1MultiSelect control, please go. through the following documentation:

    https://www.grapecity.com/componentone/docs/win/online-multiselect/multiselectelements.html

    Regards,

    Prabhat Sharma.

  • Posted 2 September 2021, 8:21 am EST

    Thank You Prabhat.

    I got my project recovered late yesterday by manually doing pattern find and replace to change all the references to the 2.0 assembly to 4.5.2 in the .licx file and deleting all the entries for controls no longer included in my project.

    If it happens again I will try your suggestion.

    Thanks for the help

Need extra support?

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

Learn More

Forum Channels