企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
No overload for 'OnStartup' matches delegate 'System.Windows.StartupEventHandler' 今天wpf工程的App.xaml爆出这个问题, 明明cs理由事件处理函数OnStartUp,却无法编译。 原因是App.xaml声明的类名和App.xaml.cs中的类名不同。 修改一直, 并确认Event Hanlder存在。