WPF - 在 UserControls 中使用不同版本的 DLL [英] WPF - Use different Versions of DLLs with UserControls

查看:29
本文介绍了WPF - 在 UserControls 中使用不同版本的 DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了问题,当我有 WPF UserControls 并且我有这个 UserControl 位于加载到程序集中的不同版本的 DLL 时,UserControl 再也找不到它的资源了.(也许是因为它们具有相同的名称但位于不同版本的 DLL 中)有人知道如何解决吗?

I have the Problem, when I have WPF UserControls and I have the DLL where this UserControl is located in different Versions loaded into the Assembly, the UserControl could not find it's Resources any more. (Maybe because they are there with the same Name but in different Versioned DLLs) Any know how to fix it?

推荐答案

我现在在 SharpDevelop 中以这种方式修复它:https://github.com/icsharpcode/SharpDevelop/commit/b3ea4a0efb7e3b8e083f8be40ea6f7e03ff44604

I fixed it in SharpDevelop now this way: https://github.com/icsharpcode/SharpDevelop/commit/b3ea4a0efb7e3b8e083f8be40ea6f7e03ff44604

这篇关于WPF - 在 UserControls 中使用不同版本的 DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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