What kind of problem can cause a TypeLoadException?

前端 未结 4 1481
礼貌的吻别
礼貌的吻别 2021-01-07 13:33

I have a big and bloated software and I want to add a new GUI element to it. The GUI element was written using XAML and WPF. I created the UI element in a separate assembly,

4条回答
  •  旧时难觅i
    2021-01-07 14:22

    Just to add another answer to this:

    we had a C++ client calling a .NET COM dll.

    The developer of the .NET dll renamed the namespace enclosing the C# classes, and although the progid remained the same in both the class attribute and in the C++ calling code, the runtime failed to load the object resulting in this error.

提交回复
热议问题