.RESX File

.resx is .NET Managed Resources File

Features Description
File Extension .resx
Format XML
Created by Microsoft
Category Developer

What's on this Page

  1. How to open:
  2. How to convert:

What is an .RESX file?

The resx file extension is associated with Microsoft Visual Studio.

The resx files are used for developed application resource files or resource template files.

The RESX resource file format consists of XML entries, which specify objects and strings inside XML tags. One advantage of a RESX file is that when opened with a text editor (such as Notepad or Microsoft Word) it can be written to, parsed, and manipulated. When viewing a RESX file, you can actually see the binary form of an embedded object (a picture for example) when this binary information is a part of the resource manifest. Apart from this binary information, a RESX file is completely readable and maintainable.

The resx file contains a standard set of header information, which describes the format of the resource entries and specifies the versioning information for the XML used to parse the data.

The following example shows what a typical set of header statements in a resx file might look like.

<?xml version="1.0" encoding="utf-8"?><root><xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"><xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> </xsd:complexType> </xsd:element>

Following the header information, each entry is described as a name/value pair, very similar to the way in which strings are specified in a txt file. A name/value pair in the .resx format is wrapped in XML code, which describes string or object values. When a string is added to a .resx file, the name of the string is embedded in a <data> tag, and the value is enclosed in a <value> tag, as in the following example.

<data name="string1"> <value>hello</value></data>

When an object is inserted into a .resx file, the same <data> and <value> tags are used to describe the entry, but the <data> tag includes either a type or MIME type specifier. The type specifier holds the data type of the object being saved. The MIME type specifier holds the base type (Base64) of the binary information stored, if the object consists of binary data.

An resx file extension is associated with the Microsoft Visual Studio .NET development environment. An resx file contains XML resource template.


How to open:

Use any of the Microsoft Visual Studio suites. You can also view the *.resx files using text editor.

How to convert:

Probably cannot be converted to anything else.

Microsoft

Developer

XML

New Files Extension Recently updated 3D Image Files Audio Files Backup Files CAD Files Camera Raw Files Compressed Files Data Files Database Files Developer Files Disk Image Files Encoded Files Executable Files Font Files GIS Files Game Files Misc Files Page Layout Files Plugin Files Raster Image Files Settings Files Spreadsheet Files System Files Text Files Vector Image Files Video Files Web Files eBook Files