[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 '...'的问题相关的知识,希望对你有一定的参考价值。

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的名称改为不一样,再次编译,问题即可解决。

以上是关于[WPF]The type name ‘App’ does not exist in the type '...'的问题的主要内容,如果未能解决你的问题,请参考以下文章

解决:The content of element type "web-app" must match "(icon?display

安卓开发错误:The type android.support.v4.app.TaskStackBuilder$SupportParentable cannot be resolved.

Duplicate methods named spliterator with the parameters () and () are inherited from the types Colle

Word2010 Error:The name in the end tag of the element must match the element type in the start tag.

Word2010 Error:The name in the end tag of the element must match the element type in the start tag.

webserviceTwo classes have the same XML type name(转)