System.ComponentModel.Design.ExceptionCollection

后端 未结 6 1130
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 09:57

I\'m using the Ribbon control located on CodePlex, and following the tutorial located here . Once I add the reference, and the proper code in the designer I get this error w

6条回答
  •  长情又很酷
    2020-12-17 10:24

    Let me add two more cases when such exception can happen, along with when control tries to do something that is not allowed under design mode:

    1. When it's impossible to compile the user control.
    2. When designer code contains multiple similar (or identical) lines with initialization of same controls or properties, this can easily happen on merge.

    All that cases produce same extremely meaningful error message, and in this particular two debugging of Visual Studio won't help, so I just ended up with bisecting my designer code.

提交回复
热议问题