The Resource File Generator converts .txt files and .resx (XML-based resource format) files to common language runtime binary .resources files that can be embedded in a runtime binary executable or compiled into satellite assemblies.
ResGen.Exe
ResGen (Resource File Generator) is a .NET Framework Tools. It is installed with Visual Studio. It can normally be found in "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\ResGen.exe".
Resgen is used in the command prompt. It is also possible to use it in code with : Process.Start() (C#)
Resgen.exe can performs the following conversions:
Converts .txt files to .resources or .resx files.
Converts .resources files to text or .resx files.
Converts .resx files to text or .resources files.
A .resx file created by the ResXResourceWriter class cannot be used directly by a .NET Framework application. Before adding this file to your application, run it through Resgen.exe to convert it to a .resources file. In order for Resgen.exe to be able to parse your input, it is critical that your .txt and .resx files follow the correct format.