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 package.
4 For example, if you chose to create a tool window, there is a resource with ID 'CanNotCreateWindow'. This
5 is used in VsPkg.cs to determine the string to show the user if there is an error when attempting to create
8 Resources that are accessed directly from your package *by Visual Studio* are stored in the VSPackage.resx
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">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
28 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
29 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
30 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
31 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
32 <value>[base64 mime encoded serialized .NET Framework object]</value>
34 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
35 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
36 <comment>This is a comment</comment>
39 There are any number of "resheader" rows that contain simple
42 Each data row contains a name, and value. The row also contains a
43 type or mimetype. Type corresponds to a .NET class that support
44 text/value conversion through the TypeConverter architecture.
45 Classes that don't support this are serialized and stored with the
48 The mimetype is used for serialized objects, and tells the
49 ResXResourceReader how to depersist the object. This is currently not
50 extensible. For a given mimetype the value must be set accordingly:
52 Note - application/x-microsoft.net.object.binary.base64 is the format
53 that the ResXResourceWriter will generate, however the reader can
54 read any of the formats listed below.
56 mimetype: application/x-microsoft.net.object.binary.base64
57 value : The object must be serialized with
58 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
59 : and then encoded with base64 encoding.
61 mimetype: application/x-microsoft.net.object.soap.base64
62 value : The object must be serialized with
63 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
64 : and then encoded with base64 encoding.
66 mimetype: application/x-microsoft.net.object.bytearray.base64
67 value : The object must be serialized into a byte array
68 : using a System.ComponentModel.TypeConverter
69 : and then encoded with base64 encoding.
71 <xsd:schema id=
"root" xmlns=
"" xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema" xmlns:
msdata=
"urn:schemas-microsoft-com:xml-msdata">
72 <xsd:import namespace=
"http://www.w3.org/XML/1998/namespace" />
73 <xsd:element name=
"root" msdata:
IsDataSet=
"true">
75 <xsd:choice maxOccurs=
"unbounded">
76 <xsd:element name=
"metadata">
79 <xsd:element name=
"value" type=
"xsd:string" minOccurs=
"0" />
81 <xsd:attribute name=
"name" use=
"required" type=
"xsd:string" />
82 <xsd:attribute name=
"type" type=
"xsd:string" />
83 <xsd:attribute name=
"mimetype" type=
"xsd:string" />
84 <xsd:attribute ref=
"xml:space" />
87 <xsd:element name=
"assembly">
89 <xsd:attribute name=
"alias" type=
"xsd:string" />
90 <xsd:attribute name=
"name" type=
"xsd:string" />
93 <xsd:element name=
"data">
96 <xsd:element name=
"value" type=
"xsd:string" minOccurs=
"0" msdata:
Ordinal=
"1" />
97 <xsd:element name=
"comment" type=
"xsd:string" minOccurs=
"0" msdata:
Ordinal=
"2" />
99 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required" msdata:
Ordinal=
"1" />
100 <xsd:attribute name=
"type" type=
"xsd:string" msdata:
Ordinal=
"3" />
101 <xsd:attribute name=
"mimetype" type=
"xsd:string" msdata:
Ordinal=
"4" />
102 <xsd:attribute ref=
"xml:space" />
105 <xsd:element name=
"resheader">
108 <xsd:element name=
"value" type=
"xsd:string" minOccurs=
"0" msdata:
Ordinal=
"1" />
110 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required" />
117 <resheader name=
"resmimetype">
118 <value>text/microsoft-resx
</value>
120 <resheader name=
"version">
123 <resheader name=
"reader">
124 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=
4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
126 <resheader name=
"writer">
127 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=
4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>