【发布时间】:2012-10-31 15:21:03
【问题描述】:
过去 2 天我一直在尝试调试此问题,我尝试了 SO 和 Microsoft connect 上可用的所有解决方案,但似乎找不到任何解决方案。
我下载了 Windows Phone 8 sdk,安装并创建了一个新项目,但是当我尝试编辑 App.xaml 时,我得到了
XamlParseException: Cannot find a Resource with the Name/Key PhoneProgressBarBackgroundBrush [Line: 729 Position: 39]
at at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, Boolean expandTemplatesDuringParse, Boolean trimDeclaredEncoding)
at System.Windows.Controls.Control.GetBuiltInStyle(IntPtr nativeTarget, IntPtr& nativeStyle)
请帮我解决这个问题。
【问题讨论】:
-
“当我尝试编辑 app.xaml 时”是什么意思?你到底做了什么?您在哪里看到该异常?
-
我在解决方案资源管理器中点击了 app.xaml ???
-
k,卸载WP8 SDK并重新安装。听起来像是安装问题。
-
我已经这样做了 3 次,现在再试一次
-
@JustinAngel,卸载重启后还是一样的问题。
标签: xaml visual-studio-2012 windows-phone-8