WPF - 在 UserControls 中使用不同版本的 DLL

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