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

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

问题描述

我遇到了问题,当我有WPF用户控件且该用户控件位于不同版本中的DLL加载到程序集中时,该用户控件再也找不到它的资源了。 (也许是因为它们的名称相同,但是版本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/b3ea4a0efb7e8b3e4b3e4b3e4b3e4e4b3e4b3e4b3e4e4b3e4b3e4b3e4e3e3e4b3e4e3e4e3e4b0e4e3e4b0e0e4b0e4e4e4e0e0b0e4e4e0e0b0e4b3e4e4e0b0e4b3e4e4e4e0b4e4e4e3b4e4e0b4e4e4e0b4e4e3e4b4e4e0b4e4b0e4b3e4e4b0e4b4e4e3b4e4e0b4e4e0 / a>

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

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

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