What kind of problem can cause a TypeLoadException?

前端 未结 4 1498
礼貌的吻别
礼貌的吻别 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条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-07 13:59

    TypeLoadException is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.

    TypeLoadException uses the HRESULT COR_E_TYPELOAD, that has the value 0x80131522.

    For a list of initial property values for an instance of TypeLoadException, see the TypeLoadException constructors.

    Source: MSDN

提交回复
热议问题