[WPF]The type name ‘App’ does not exist in the type '...'的问题

refer to: https://stackoverflow.com/questions/4480087/wpf-the-type-name-app-does-not-exist-in-the-type-occurs-after-renaming-mai

 

问题描述:当创建一个namespace名与class名相同的solution并编译时,可能遇到报错“The type name ‘App’ does not exist in the type '...'”,如下图所示:

问题解决:将namespace与class的名称改为不一样,再次编译,问题即可解决。

posted @ 2017-07-11 16:47  Avin  阅读(744)  评论(0编辑  收藏  举报