MEF可以下载Dll(不仅是Xap)文件吗?

发布于 2024-09-17 06:18:25 字数 108 浏览 0 评论 0原文

我正在尝试确定 MEF(来自 codeplex)是否适合我的需求。 我知道MEF支持Xap文件的按需加载。 但有人知道它是否支持按需加载 silverlight 库(dll)吗?

谢谢。

Im trying to determine if MEF (from codeplex) is right for my needs.
I know MEF supports on-demand loading of Xap files.
But does anybody know if it supports on-demand loading of silverlight libraries (dll's)?

Thanks.

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

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

发布评论

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

评论(2

恏ㄋ傷疤忘ㄋ疼 2024-09-24 06:18:25

DeploymentCatalog 可以轻松下载 XAP 文件。我们没有内置功能来帮助直接下载 DLL,但是如果您自己下载它并将其作为程序集加载(即使用 Assembly.Load),则可以使用 AssemblyCatalog 为该程序集创建一个目录,您可以与 MEF 一起使用。

The DeploymentCatalog makes it easy to download a XAP file. We don't have built in functionality to help downloading a DLL directly, but if you download it yourself and load it as an assembly (ie with Assembly.Load), you can use an AssemblyCatalog to create a catalog for that assembly that you can use with MEF.

各自安好 2024-09-24 06:18:25

这是 DeploymentCatalog 的修改版本,允许您下载 DLL 或 XAP。

http://pietschsoft.com/post/2010/10/22/Silverlight-Modify-MEF-to-load-plugins-from-DLL-and-XAP-files.aspx

这添加起来非常简单,很奇怪他们为什么不首先添加它。

Here's a modified version of the DeploymentCatalog that allows you to download either DLLs or XAPs.

http://pietschsoft.com/post/2010/10/22/Silverlight-Modify-MEF-to-load-plugins-from-DLL-and-XAP-files.aspx

This was so simple to add, it's a wonder why they didn't add it in the first place.

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