开发者

How extract the messages strings from a .net class to a resource?

开发者 https://www.devze.com 2022-12-14 16:29 出处:网络
I have my c# class file (.cs), and this have messages st开发者_如何学JAVArings. How to generate a resource file from the class file?If you are looking for extracting strings to resource:

I have my c# class file (.cs), and this have messages st开发者_如何学JAVArings.

How to generate a resource file from the class file?


If you are looking for extracting strings to resource:

  • Resource Refactoring Tool

If you are looking for reading from the resource file:

  • .NET - Localization using Resource file
  • CSharp reading string from resource file


Message strings are a UI implementation detail. Consider an enum first. Next, leverage Project + Properties, Resources tab to enter resource strings.

0

精彩评论

暂无评论...
验证码 换一张
取 消