无法创建在程序集"TestApp,版本= 1.0.0.0,区域性=中性,PublicKeyToken =空"中定义的"Window1"的实例.调用的目标已引发异常.标记文件"Window1.xaml"的第1行第9位错误. [英] Cannot create instance of 'Window1' defined in assembly 'TestApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Window1.xaml' Line 1 Position 9.
问题描述
大家好,
我的应用程序运行正常,但是突然间我收到了无法创建程序集'TestApp,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = null定义的'Window1'实例. '.调用的目标已引发异常.标记文件"Window1.xaml"的第1行第9位错误.异常,因此我的wpf应用程序甚至无法运行.我什至不知道我为发生这种异常做了什么.请帮忙.
谢谢!
zolyit
Hello all,
My application was working perfectly but all all sudden i am receiving "Cannot create instance of 'Window1' defined in assembly 'TestApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Window1.xaml' Line 1 Position 9." exception and hence my wpf application can't even run at all. I don't even know what i did for such exception to occur. Please help.
Thanks!
zolyit
推荐答案
我可以看到xaml文件?
Can I see the beginning of the xaml file?
这篇关于无法创建在程序集"TestApp,版本= 1.0.0.0,区域性=中性,PublicKeyToken =空"中定义的"Window1"的实例.调用的目标已引发异常.标记文件"Window1.xaml"的第1行第9位错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!