This documentation is archived and is not being maintained.

Resource File Generator (Resgen.exe)

.NET Framework 1.1

This Resource File Generator (Resgen.exe) converts text files and .resx files (which are XML-formatted resource files) to common language runtime binary .resources files. The resulting .resources files can be used directly but are almost always embedded in an assembly. Resgen.exe can also be used to decompile a .resources file back to a .resx file. As shown in the following command line, Resgen.exe takes two parameters: the input file, and the output file.

resgen MyStrings.txt MyStrings.resources

A text file can be encoded as ASCII text, UTF-8, or UTF-16 (either little-endian or big-endian with a byte order mark (BOM) in front).

Show: