1 <?xml version="1.0" encoding="utf-8"?>
3 VS SDK Notes: This resx file contains the resources that will be consumed directly by your
4 package. For example, if you chose to create a tool window, there is a resource with ID
5 'CanNotCreateWindow'. This is used in VsPkg.cs to determine the string to show the user if
6 there is an error when attempting to create the tool window.
8 Resources that are accessed directly from your package *by Visual Studio* are stored in the
17 The primary goals of this format is to allow a simple XML format
18 that is mostly human readable. The generation and parsing of the
19 various data types are done through the TypeConverter classes
20 associated with the data types.
24 ... ado.net/XML headers & schema ...
25 <resheader name="resmimetype">text/microsoft-resx</resheader>
26 <resheader name="version">2.0</resheader>
27 <resheader name="reader">
28 System.Resources.ResXResourceReader, System.Windows.Forms, ...
30 <resheader name="writer">
31 System.Resources.ResXResourceWriter, System.Windows.Forms, ...
34 <value>this is my long string</value>
35 <comment>this is a comment</comment>
37 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
38 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
39 <value>[base64 mime encoded serialized .NET Framework object]</value>
41 <data name="Icon1" type="System.Drawing.Icon, System.Drawing"
42 mimetype="application/x-microsoft.net.object.bytearray.base64">
44 [base64 mime encoded string representing a byte array form of the .NET Framework object]
46 <comment>This is a comment</comment>
49 There are any number of "resheader" rows that contain simple
52 Each data row contains a name, and value. The row also contains a
53 type or mimetype. Type corresponds to a .NET class that support
54 text/value conversion through the TypeConverter architecture.
55 Classes that don't support this are serialized and stored with the
58 The mimetype is used for serialized objects, and tells the
59 ResXResourceReader how to depersist the object. This is currently not
60 extensible. For a given mimetype the value must be set accordingly:
62 Note - application/x-microsoft.net.object.binary.base64 is the format
63 that the ResXResourceWriter will generate, however the reader can
64 read any of the formats listed below.
66 mimetype: application/x-microsoft.net.object.binary.base64
67 value : The object must be serialized with
68 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
69 : and then encoded with base64 encoding.
71 mimetype: application/x-microsoft.net.object.soap.base64
72 value : The object must be serialized with
73 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
74 : and then encoded with base64 encoding.
76 mimetype: application/x-microsoft.net.object.bytearray.base64
77 value : The object must be serialized into a byte array
78 : using a System.ComponentModel.TypeConverter
79 : and then encoded with base64 encoding.
81 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
82 xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
83 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
84 <xsd:element name="root" msdata:IsDataSet="true">
86 <xsd:choice maxOccurs="unbounded">
87 <xsd:element name="metadata">
90 <xsd:element name="value" type="xsd:string" minOccurs="0" />
92 <xsd:attribute name="name" use="required" type="xsd:string" />
93 <xsd:attribute name="type" type="xsd:string" />
94 <xsd:attribute name="mimetype" type="xsd:string" />
95 <xsd:attribute ref="xml:space" />
98 <xsd:element name="assembly">
100 <xsd:attribute name="alias" type="xsd:string" />
101 <xsd:attribute name="name" type="xsd:string" />
104 <xsd:element name="data">
107 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
108 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
110 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
111 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
112 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
113 <xsd:attribute ref="xml:space" />
116 <xsd:element name="resheader">
119 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
121 <xsd:attribute name="name" type="xsd:string" use="required" />
128 <resheader name="resmimetype">
129 <value>text/microsoft-resx</value>
131 <resheader name="version">
134 <resheader name="reader">
135 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
137 <resheader name="writer">
138 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>