Winforms - Failed to create component ''C1ComboBox'

Posted by: brian.copeland on 26 June 2022, 2:48 am EST

  • Posted 26 June 2022, 2:48 am EST

    I have installed the latest Winforms controls and am trying to add a C1Combo box to a form and get the following error which comes up as a messagebox:

    Failed to create component ‘C1ComboBox’. The error message follows: ‘Microsoft.DotNet.DesignTools.Client.DesignToolsServerexception. Could not resolve type, ‘C1.Win.C1Input.C1ComboBox, C1.Win.Input.4.8, Version=4.8.20221.537’, Culture nertral, PublicKeyToken=7e7ff60f0c2149a’

    at

    Microsoft.DotNet.DesignTools.Client.DesignToolsClient.d_49`1.Movenext()

    Then it shows the stack trace which is rather large.

    I have added a ribbon fine, no issues, but any of the C1 Input controls give this error.

    I am using VS 2022

  • Posted 26 June 2022, 8:58 pm EST - Updated 3 October 2022, 1:24 pm EST

    Hi,

    This error is usually observed when trying to use different .NET versions of C1 Controls in the same project, as it results in conflicts among the C1 Assemblies. We could see this error while trying to use .NET Framework 4.8 and .NET 6 C1 WinForms controls in the same .NET 6 project. If you are facing this issue in a similar scenario, please make sure to update your C1.Win.Input library to the latest version compatible with .NET6. Then only you will be able to use the C1ComboBox control in your project.

    Kindly refer to the attached screenshots showing the same.

    If you still face the issue, please share with us the following information, so we can investigate accordingly and assist you in the best way possible.

    1. The Target Framework of your project.

    2. How are you using the C1 WinForms controls in your project? (by installing packages through NuGet or by installing the controls in your system using C1 Control Panel?)

    3. A screenshot showing all the C1 assembly references in your project including their versions.

    Kind Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels