Resourcemanagers的ResourceSet有错误的价值观 [英] Resourcemanagers resourceset has wrong values
问题描述
我正在开发它采用本地化的resx resourcefiles一个WPF /棱镜4的应用程序。一些调试后(它没有按预期工作)我看到我的ResourceManager所有的ResourceSet的有相同的价值观。默认loc.resx的值。
i'm developing a wpf / prism 4 application which uses localized resx resourcefiles. After some debugging (it didn't work as expected) i saw that all the resourceset's of my resourcemanager had the same values. The values of the default loc.resx.
我的问题是:什么地方出了错有
My Question is: What's going wrong there?
感谢您提前
推荐答案
好吧,我终于找到了我自己的解决方案。问题是,我XCOPY我的模块的DLL为$(SolutionDir)\Modules执行目录发现。但Modul.resources.dll未复制。我手动复制它们$(SolutionDir)/Modules/en-GB/Modul.resources.dll和tadaaa它的工作原理:)
Okay, I finally found the solution by myself. The problem was, that i xcopy my module dll to $(SolutionDir)\Modules to perform a directory discovery. But the Modul.resources.dll were not copied. I've copied them manually to $(SolutionDir)/Modules/en-GB/Modul.resources.dll and tadaaa it works :)
这篇关于Resourcemanagers的ResourceSet有错误的价值观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!