Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
BadImageFormatException thrown for XamMultiColumnComboEditor in the Designer
posted

XamMultiColumnComboEditor control got into a bad state and I can not get past an exception being thrown in the designer.

I have tried the following:

1. Reboot

2. Remove the control and re-add the control

3. Remove all bindings and property settings

Has anyone seen this before?  Any ideas for things to try?

Parents
  • 15
    Offline posted

    Hi.  I solved my own problem.  For anyone who encounters this, one possible solution is to remove all instances of the control, and remove the references specific to the control, then add the control back to the form.

    For example, for XamMultiColumnComboEditor, relevant references are:

    InfragisticsWPF4.Controls.Editors.XamComboEditor.v17.2

    InfragisticsWPF4.DataManager.v17.2

    InfragisticsWPF4.v17.2

    The steps that I took to resolve the BadImageFormatException were as follows:

    1. Remove all instances of XamMultiColumnComboEditor from the form (save the underlying xaml code)

    2. Remove the above 3 references from the project.

    3. Drag and drop the XamMultiColumnComboEditor from the Toolbox back to the form (allows Visual Studio to reinstate the 3 references).

    4. Restore the underlying xaml.

    Other controls will have a different set of references.  This is what worked for me.  Thank you.

Reply Children