Manuel Klimek | bb55615 | 2013-09-04 16:11:46 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
| 2 | <!--
|
| 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
|
| 6 | the tool window.
|
| 7 |
|
| 8 | Resources that are accessed directly from your package *by Visual Studio* are stored in the VSPackage.resx
|
| 9 | file.
|
| 10 | -->
|
| 11 | <root>
|
| 12 | <!--
|
| 13 | Microsoft ResX Schema
|
| 14 |
|
| 15 | Version 2.0
|
| 16 |
|
| 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.
|
| 21 |
|
| 22 | Example:
|
| 23 |
|
| 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>
|
| 33 | </data>
|
| 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>
|
| 37 | </data>
|
| 38 |
|
| 39 | There are any number of "resheader" rows that contain simple
|
| 40 | name/value pairs.
|
| 41 |
|
| 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
|
| 46 | mimetype set.
|
| 47 |
|
| 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:
|
| 51 |
|
| 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.
|
| 55 |
|
| 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.
|
| 60 |
|
| 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.
|
| 65 |
|
| 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.
|
| 70 | -->
|
| 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">
|
| 74 | <xsd:complexType>
|
| 75 | <xsd:choice maxOccurs="unbounded">
|
| 76 | <xsd:element name="metadata">
|
| 77 | <xsd:complexType>
|
| 78 | <xsd:sequence>
|
| 79 | <xsd:element name="value" type="xsd:string" minOccurs="0" />
|
| 80 | </xsd:sequence>
|
| 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" />
|
| 85 | </xsd:complexType>
|
| 86 | </xsd:element>
|
| 87 | <xsd:element name="assembly">
|
| 88 | <xsd:complexType>
|
| 89 | <xsd:attribute name="alias" type="xsd:string" />
|
| 90 | <xsd:attribute name="name" type="xsd:string" />
|
| 91 | </xsd:complexType>
|
| 92 | </xsd:element>
|
| 93 | <xsd:element name="data">
|
| 94 | <xsd:complexType>
|
| 95 | <xsd:sequence>
|
| 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" />
|
| 98 | </xsd:sequence>
|
| 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" />
|
| 103 | </xsd:complexType>
|
| 104 | </xsd:element>
|
| 105 | <xsd:element name="resheader">
|
| 106 | <xsd:complexType>
|
| 107 | <xsd:sequence>
|
| 108 | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
| 109 | </xsd:sequence>
|
| 110 | <xsd:attribute name="name" type="xsd:string" use="required" />
|
| 111 | </xsd:complexType>
|
| 112 | </xsd:element>
|
| 113 | </xsd:choice>
|
| 114 | </xsd:complexType>
|
| 115 | </xsd:element>
|
| 116 | </xsd:schema>
|
| 117 | <resheader name="resmimetype">
|
| 118 | <value>text/microsoft-resx</value>
|
| 119 | </resheader>
|
| 120 | <resheader name="version">
|
| 121 | <value>2.0</value>
|
| 122 | </resheader>
|
| 123 | <resheader name="reader">
|
| 124 | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 125 | </resheader>
|
| 126 | <resheader name="writer">
|
| 127 | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 128 | </resheader>
|
| 129 | </root> |