[WPF]The type name ‘App’ does not exist in the type '...'的问题
Posted Avin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[WPF]The type name ‘App’ does not exist in the type '...'的问题相关的知识,希望对你有一定的参考价值。
问题描述:当创建一个namespace名与class名相同的solution并编译时,可能遇到报错“The type name ‘App’ does not exist in the type \'...\'”,如下图所示:
问题解决:将namespace与class的名称改为不一样,再次编译,问题即可解决。
以上是关于[WPF]The type name ‘App’ does not exist in the type '...'的问题的主要内容,如果未能解决你的问题,请参考以下文章