WPF Application fails on startup with TypeInitializationException

前端 未结 10 822
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:55

    If you only see the TypeInitializationException with no reason or no details on what's wrong, then disable Just My Code in the Visual Studio options.

提交回复
热议问题