访问放置在不同程序集和 XAP 中的外部静态资源

发布于 2024-09-24 05:20:10 字数 166 浏览 0 评论 0原文

我的基于 prism 的 silveright 应用程序被分为多个 xap,以减少初始下载大小并支持多租户应用程序。

但是,我无法访问外部程序集中定义的资源字典(即资源 .xaml 文件是符合/复制到不同 xap 的程序集的一部分)

有什么建议吗?因为访问外部资源文件的标准语法不起作用

My prism based silveright application is divided into multiple xaps to reduce initial download size and support multi tenant application.

However, I cannot access the resource dictionaries defined in external assembly (i.e. the resource .xaml file is part of an assembly that complies/ is copied into a different xap)

Any suggestions ? because the standard syntax for accessing external resources files does not work

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

∞觅青森が 2024-10-01 05:20:10

Pro Silverlight 2 in VB 2008 (p166) [MacDonald]一书说:“不幸的是,Silverlight 目前不允许您合并资源字典,这意味着无法将您的应用程序资源拆分为单独的文件,然后将它们合并到您的应用程序中。”应用程序(这在 WPF 中是可能的)。”我不知道从那时起事情是否发生了变化,但我认为这就是原因。

The book Pro Silverlight 2 in VB 2008 (p166) [MacDonald] says "Unfortunately, Silverlight doesn't currently allow you to merge resource dictionaries, which means there is no way to split your application resources into separate files and then merge them into your application (which is possible in WPF)." I don't know if things have changed since then, but I would suggest that is the reason.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文