在 Blend 4 中打开 Windows Phone 7.1 项目时系统级资源无法解析
我在干净的 Windows 7 SP1 设置上安装了以下内容:
- VS 2010 Ultimate
- VS2010 SP1
- Windows Phone 7.1 SDK
- Expression Studio 4 Ultimate
- Expression Blend 4 SP1
当我在 VS 中创建手机项目时,一切正常。 当我加载同一项目(最初在 VS 中创建)时,我收到资源无法解决 PhoneTextNormalStyle
、PhoneTextTitle1Style
、PhoneForgroundBrush
、PhoneFontSizeNormal 的错误
和 PhoneFontFamilyNormal
遵循以下格式:
The resource 'PhoneTextNormalStyle' could not be resolved
当我在 Blend 中创建项目时,一切正常。当我将该项目加载到 VA 时,
我尝试卸载所有可以想象到的顺序重新安装的所有工作 - 也许是某种安全问题?
I have the following installed on a clean Windows 7 SP1 setup:
- VS 2010 Ultimate
- VS2010 SP1
- Windows Phone 7.1 SDK
- Expression Studio 4 Ultimate
- Expression Blend 4 SP1
When I create a phone project in VS, all works.
When I load that same project (originally created in VS) I get resource not resolving errors for PhoneTextNormalStyle
, PhoneTextTitle1Style
, PhoneForgroundBrush
, PhoneFontSizeNormal
and PhoneFontFamilyNormal
which follow this format:
The resource 'PhoneTextNormalStyle' could not be resolved
When I create a project in Blend, all works. When I load that project into VA, all works
I have tried uninstalling the reinstalling the bits in every order imaginable - maybe some sort of security Issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
混合似乎缺少您尝试引用的主题资源词典。
当您检查 Blend 中的“资源”选项卡(通常是右上角)时,哪些资源字典可用?更重要的是,app.xaml 中资源字典的路径是否正确?由于 VS 使用 Cider Designer,而不是与 Blend 相同的设计演示器,因此这些意外情况可能经常发生。虽然我听说 VS 2011 将使用与 Blend 相同的设计演示器...
无论如何,当我阅读本文时,我只是注意到它的发布日期。如果您仍然遇到此问题,请回复,当我从可以访问手机项目的办公室回到家时,我绝对可以帮助您解决该问题。干杯!
It appears blend is missing the Theme Resource Dictionaries you're trying to reference.
When you check your Resources tab in Blend (normally top right corner) what resource dictionaries appear available? More importantly, are the paths to your resource dictionaries correct in your app.xaml? Since VS uses Cider Designer instead of the same design presenter that blend does, these contingencies can occur often. Although I hear VS 2011 will use the same design presenter as blend...
Anyhow as I'm reading this I just noticed the date it was posted. If you're still having this issue then please reply and I can definitely help you resolve it when I get home from the office where I have access to my phone projects. Cheers!