WPF Application fails on startup with TypeInitializationException

前端 未结 10 823
Happy的楠姐
Happy的楠姐 2020-12-17 09:05

I have a simple WPF application which I am trying to start. I am following the Microsoft Patterns and Practices \"Composite Application Guidance for WPF\". I\'ve followed

10条回答
  •  天命终不由人
    2020-12-17 09:35

    Do you use .config file? If so, check it for errors. Initialization errors of such sort are often triggered by invalid XML: if there are no errors in XAML, XML config is the first place to look.

提交回复
热议问题