No overload for 'OnStartup' matches delegate 'System.Windows.StartupEventHandler'

今天wpf工程的App.xaml爆出这个问题, 明明cs理由事件处理函数OnStartUp,却无法编译。
原因是App.xaml声明的类名和App.xaml.cs中的类名不同。

修改一直, 并确认Event Hanlder存在。

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-06-14
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
猜你喜欢
  • 2021-07-18
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2021-11-05
相关资源
相似解决方案