You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Some developers use resource text files instead of RESX. Resgen.exe supports this, but I'm not able to find any source code or API aside from the StronglyTypedResourceBuilder class.
Describe the solution you'd like
If *.restext support doesn't already exist, we can add a TextResourceReader implementation of IResourceReader, then use this to add *.restext support. In the process, we will have generalized the code to any IResourceReader, giving us future support for other formats like Portable Objects (*.po).
Hi Tom,
Do you mean create a new project, or find existing use cases? I can do the former, but as for the latter, it's certainly not a widely used feature. Here's an example from the .NET project itself and a sample repository I made: ishanpranav/restext. The project includes the reader and writer, basically mirroring the design of their RESX counterparts.
Is your feature request related to a problem? Please describe.
Some developers use resource text files instead of RESX. Resgen.exe supports this, but I'm not able to find any source code or API aside from the StronglyTypedResourceBuilder class.
Describe the solution you'd like
If *.restext support doesn't already exist, we can add a TextResourceReader implementation of IResourceReader, then use this to add *.restext support. In the process, we will have generalized the code to any IResourceReader, giving us future support for other formats like Portable Objects (*.po).
Example TextResourceReader.cs
TextResourceReader.cs.txt
The text was updated successfully, but these errors were encountered: