我有一个程序集,其中包含所有使用约定优先于配置的逻辑结构的资源。
[My.Resources]
- [Controller]
- [View]
- Strings.resx
- Strings.fr.resx
- Strings.nl.resx
- [Controller]
- [View]
- Strings.resx
- Strings.fr.resx
- Strings.nl.resx
- [View]
- Strings.resx
- Strings.fr.resx
- Strings.nl.resx
...我正在寻找一种方法,以自动合并外部资源(自定义csv或resx文件)与现有的资源在运行时。优选地,使用专用文件夹从相同的组件中。
耽误您时间,实在对不起!
发布于 2015-11-02 23:26:25
您可以创建一个ResourceManager实例,然后使用其CreateFileBasedResourceManager()方法从外部.resx文件中读取资源。
https://stackoverflow.com/questions/33480808
复制相似问题