无法添加设计时资源字典 [英] Unable to Add Design-time Resource Dictionary

查看:106
本文介绍了无法添加设计时资源字典的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用控件库,而样式资源位于另一个项目(shell /容器项目)App.Xaml中。 Expression Blend 4将提示设计时资源字典,但只有同一项目内的资源列表。我用
试图攻击DesignTimeResources.xaml文件,但似乎它无法在控件库文件夹结构之外引用。有什么想法吗?

I'm working on a control library and the style resouces are in another project's(shell/container project) App.Xaml. Expression Blend 4 will prompt for a design-time resource dictionary but only has a list of resources from inside the same project. I've tried hacking the DesignTimeResources.xaml file but it seems it can not reference outside the control library folder structure. Any ideas?

推荐答案

嗨马克,

我很乐意帮助你!是的,当然我们的目标是你能够添加这样的引用 - 是否有一个你可以分享的简单项目,我可以调查为什么这不适用于你?

I would be happy to help you out! Yes, of course it is our goal that you be able to add such references - is there a simple project that you could share out, and I could investigate why this is not working out of the box for you?

您可以直接在microsoft dot com的unnir与我联系。

You could get in touch with me directly at unnir at microsoft dot com.

谢谢,

Unni

Thanks,
Unni


这篇关于无法添加设计时资源字典的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆