WPF Type initialization Exception in C#

后端 未结 8 2309
长发绾君心
长发绾君心 2020-12-17 19:44

I have someone else\'s WPF-based .NET 3.5 app that I\'m attempting to update to .NET 4.5. The code ran fine under .NET 3.5, and I\'m running Visual Studio 2013 Express on Wi

8条回答
  •  自闭症患者
    2020-12-17 19:57

    I solve this problem by moving startup section in app.config to the last part before , startup section must be the last part in app.config, like this:

提交回复
热议问题