C#本地化-如何从单独的项目中使用(.dll)资源 [英] C# Localization - How to Used (.dll) Resources from separate project

查看:97
本文介绍了C#本地化-如何从单独的项目中使用(.dll)资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

任何人都可以帮助我完成我的项目吗?

我有从单独的项目创建的资源,这些项目支持"zh-CN","vi-VN","ja-JP"和"en-GB".

.dll是在构建Resources项目后创建的,但我的问题是;如何使用主应用程序中的.dll资源?

我在不同的项目中创建资源,因为我只想针对每个国家/地区在一个特定的语言环境中进行修改.

答案受到高度赞赏.
谢谢

Hi All,

Any one can help me doing my project?

I have a resources created from separate projects which supports "zh-CN","vi-VN","ja-JP" and "en-GB".

The .dll was already created after building the Resources project but my question is; how can I use the .dll resources from my main application?

I create Resources in different projects because I want to modify only in one specific locale for each country.

Answers are highly appreciated.
Thanks

推荐答案

谢谢您的回答,现在我通过将资源文件访问修饰符设置为public解决了该问题,现在我可以从创建的dll访问任何资源文件.
Thank you for your answers, now I solved the problem by setting the resource files access modifier to public, I can now acces any resource file from the created dll.


这篇关于C#本地化-如何从单独的项目中使用(.dll)资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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