Resourcemanagers resourceset has wrong values

天大地大妈咪最大 提交于 2019-12-07 22:58:24

问题


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?

Thank you in advance


回答1:


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 :)



来源:https://stackoverflow.com/questions/9926047/resourcemanagers-resourceset-has-wrong-values

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!