1 <?xml version="1.0" encoding="utf-8"?>
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
30 There are any number of "resheader" rows that contain simple
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
78 <xsd:element name="assembly">
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
84 <xsd:element name="data">
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
96 <xsd:element name="resheader">
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
101 <xsd:attribute name="name" type="xsd:string" use="required" />
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
111 <resheader name="version">
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
120 <data name="BubbleGenericsOption" xml:space="preserve">
121 <value>Compile instantiations from reference modules used in the current module</value>
123 <data name="EmbedPgoDataOption" xml:space="preserve">
124 <value>Embed instrumentation data in generated file</value>
126 <data name="CodeGenOptions" xml:space="preserve">
127 <value>Define a codegen option</value>
129 <data name="DumpReproInstructions" xml:space="preserve">
130 <value>To repro, add following arguments to the command line:</value>
132 <data name="EmittingPEFile" xml:space="preserve">
133 <value>Emitting R2R PE file: {0}</value>
135 <data name="EnableOptimizationsOption" xml:space="preserve">
136 <value>Enable optimizations</value>
138 <data name="GenericArgCountMismatch" xml:space="preserve">
139 <value>Expected {0} generic arguments for method '{1}' on type '{2}'</value>
141 <data name="HelpOption" xml:space="preserve">
142 <value>Display this usage message</value>
144 <data name="InputBubbleOption" xml:space="preserve">
145 <value>True when the entire input forms a version bubble (default = per-assembly bubble)</value>
147 <data name="InvalidFileLayout" xml:space="preserve">
148 <value>Method layout must be either DefaultSort or MethodOrder.</value>
150 <data name="InvalidMethodLayout" xml:space="preserve">
151 <value>Method layout must be either DefaultSort, ExclusiveWeight, HotCold, HotWarmCold, or CallFrequency.</value>
153 <data name="CompileNoMethodsOption" xml:space="preserve">
154 <value>True to skip compiling methods into the R2R image (default = false)</value>
156 <data name="CompositeBuildMode" xml:space="preserve">
157 <value>Emit a composite R2R image comprising a number of input assemblies</value>
159 <data name="CompositeKeyFile" xml:space="preserve">
160 <value>KeyFile(.snk) for specifiying a Public Key for the composite image created</value>
162 <data name="ErrorCompositeKeyFileNotPublicKey" xml:space="preserve">
163 <value>--CompositeKeyFile does not specify a valid public key</value>
165 <data name="InputFilesToCompile" xml:space="preserve">
166 <value>Input file(s) to compile</value>
168 <data name="InstructionSets" xml:space="preserve">
169 <value>Instruction set(s) to use for compilation</value>
171 <data name="InstructionSetMustNotBe" xml:space="preserve">
172 <value>Instruction set must not be '{0}' for this architecture and operating system</value>
174 <data name="InstructionSetWithoutInputBubble" xml:space="preserve">
175 <value>Instruction set(s) specified without also specifying input-bubble</value>
177 <data name="InstructionSetInvalidImplication" xml:space="preserve">
178 <value>Instruction set '{0}' implies support for instruction set '{1}'</value>
180 <data name="UnrootedInputFilesToCompile" xml:space="preserve">
181 <value>Input files without automatic rooting of all methods</value>
183 <data name="JitPathOption" xml:space="preserve">
184 <value>Path to JIT compiler library</value>
186 <data name="MapFileOption" xml:space="preserve">
187 <value>Generate the map file</value>
189 <data name="MethodNotFoundOnType" xml:space="preserve">
190 <value>Method '{0}' not found in '{1}'</value>
192 <data name="MibcFiles" xml:space="preserve">
193 <value>Mibc file(s) for profile guided optimization</value>
195 <data name="MissingOutputFile" xml:space="preserve">
196 <value>Output filename must be specified (--out <file>)</value>
198 <data name="InputWasNotLoadable" xml:space="preserve">
199 <value>No input files are loadable</value>
201 <data name="NoInputFiles" xml:space="preserve">
202 <value>No input files specified</value>
204 <data name="OptimizeSpaceOption" xml:space="preserve">
205 <value>Enable optimizations, favor code space</value>
207 <data name="OptimizeSpeedOption" xml:space="preserve">
208 <value>Enable optimizations, favor code speed</value>
210 <data name="OutNearInputOption" xml:space="preserve">
211 <value>Create output files near input files with ni.dll suffix</value>
213 <data name="OutputFilePath" xml:space="preserve">
214 <value>Output file path</value>
216 <data name="ParalellismOption" xml:space="preserve">
217 <value>Maximum number of threads to use during compilation</value>
219 <data name="PartialImageOption" xml:space="preserve">
220 <value>Generate partial image driven by profile</value>
222 <data name="ProgramError" xml:space="preserve">
223 <value>Error: {0}</value>
225 <data name="ReferenceFiles" xml:space="preserve">
226 <value>Reference file(s) for compilation</value>
228 <data name="InputBubbleReferenceFiles" xml:space="preserve">
229 <value>Input bubble reference file(s) to be added to bubble (any use of this option is unsupported!) </value>
231 <data name="ResilientOption" xml:space="preserve">
232 <value>Disable behavior where unexpected compilation failures cause overall compilation failure</value>
234 <data name="SaveDependencyLogOption" xml:space="preserve">
235 <value>Save result of dependency analysis as DGML</value>
237 <data name="SaveDetailedLogOption" xml:space="preserve">
238 <value>Save detailed log of dependency analysis</value>
240 <data name="PrintReproInstructionsOption" xml:space="preserve">
241 <value>When compiling each method, print out the set of arguments needed to compile that method only</value>
243 <data name="SingleFileCompilationOption" xml:space="preserve">
244 <value>Compile each of the input files separately</value>
246 <data name="SingleMethodGenericArgs" xml:space="preserve">
247 <value>Single method compilation: generic arguments to the method</value>
249 <data name="SingleMethodMethodName" xml:space="preserve">
250 <value>Single method compilation: method name</value>
252 <data name="SingleMethodIndex" xml:space="preserve">
253 <value>Single method compilation: Index of method if there are multiple with the same name</value>
255 <data name="SingleMethodTypeName" xml:space="preserve">
256 <value>Single method compilation: name of the owning type</value>
258 <data name="SystemModuleOverrideOption" xml:space="preserve">
259 <value>System module name (default: System.Private.CoreLib)</value>
261 <data name="TargetArchitectureUnsupported" xml:space="preserve">
262 <value>Target architecture is not supported</value>
264 <data name="TargetArchOption" xml:space="preserve">
265 <value>Target architecture for cross compilation</value>
267 <data name="TargetOSOption" xml:space="preserve">
268 <value>Target OS for cross compilation</value>
270 <data name="TargetOSUnsupported" xml:space="preserve">
271 <value>Target OS is not supported</value>
273 <data name="TuningImageOption" xml:space="preserve">
274 <value>Generate IBC tuning image</value>
276 <data name="TypeAndMethodNameNeeded" xml:space="preserve">
277 <value>Both method name and type name are required parameters for single method mode</value>
279 <data name="SingleMethodIndexNeeded" xml:space="preserve">
280 <value>There are multiple methods with the same name. Specify --singlemethodindex [index] with the correct index.</value>
282 <data name="TypeNotFound" xml:space="preserve">
283 <value>Type '{0}' not found</value>
285 <data name="VerboseLoggingOption" xml:space="preserve">
286 <value>Enable verbose logging</value>
288 <data name="WaitForDebuggerOption" xml:space="preserve">
289 <value>Pause to give opportunity to attach debugger</value>
291 <data name="WaitingForDebuggerAttach" xml:space="preserve">
292 <value>Waiting for debugger to attach. Press ENTER to continue</value>
294 <data name="WarningIgnoringBubbleGenerics" xml:space="preserve">
295 <value>Warning: ignoring --compilebubblegenerics because --inputbubble was not specified</value>
297 <data name="WarningOverridingOptimizeSpace" xml:space="preserve">
298 <value>Warning: overriding -Ot with -Os</value>
300 <data name="CustomPESectionAlignmentOption" xml:space="preserve">
301 <value>Use custom alignment for PE sections in generated PE file</value>
303 <data name="InvalidCustomPESectionAlignment" xml:space="preserve">
304 <value>Custom PE Section Alignment must be a power of two greater or equal to 4096.</value>
306 <data name="ErrorMultipleInputFilesCompositeModeOnly" xml:space="preserve">
307 <value>Error: multiple input files are only supported in composite build mode: {0}</value>
309 <data name="MethodLayoutOption" xml:space="preserve">
310 <value>Layout algorithm used by profile-driven optimization for arranging methods in a file: DefaultSort, ExclusiveWeight, HotCold, or HotWarmCold). The default value is DefaultSort, which indicates that complex layout is disabled.</value>
312 <data name="FileLayoutOption" xml:space="preserve">
313 <value>Layout algorithm used by profile-driven optimization for arranging non-method contents in a file: DefaultSort or MethodOrder. The default value is DefaultSort, which indicates that complex layout is disabled.</value>
315 <data name="CompositeRootPath" xml:space="preserve">
316 <value>Logical root folder for composite builds; defaults to directory of 1st input file.</value>
318 <data name="ManagedCppNotSupported" xml:space="preserve">
319 <value>Error: managed C++ is not supported: '{0}'</value>
321 <data name="VerifyTypeAndFieldLayoutOption" xml:space="preserve">
322 <value>Verify that struct type layout and field offsets match between compile time and runtime. Use only for diagnostic purposes.</value>
324 <data name="MapCsvFileOption" xml:space="preserve">
325 <value>Generate a CSV formatted map file</value>
327 <data name="DisableOptimizationsOption" xml:space="preserve">
328 <value>Disable optimizations to simplify debugging</value>
330 <data name="WarningOverridingOptimize" xml:space="preserve">
331 <value>Warning: -Od overrides other optimization options</value>
333 <data name="CallChainProfileFile" xml:space="preserve">
334 <value>Json file(s) for predictive profile guided optimization</value>
336 <data name="PdbFileOption" xml:space="preserve">
337 <value>Generate PDB symbol information file (supported on Windows only)</value>
339 <data name="PerfMapFileOption" xml:space="preserve">
340 <value>Generate PerfMap symbol information file for use by PerfInfo</value>
342 <data name="PdbFilePathOption" xml:space="preserve">
343 <value>Explicit specification of the output PDB file path</value>
345 <data name="PerfMapFilePathOption" xml:space="preserve">
346 <value>Explicit specification of the PerfMap file path</value>