diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:56:09 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:56:09 -0700 |
| commit | 69b15d96cebdbb7201b1849b4f62786633d70b8d (patch) | |
| tree | 4b65de8679e4b4ab81b69edcccbac1ae9f55a16d /src/WixToolset.Data/Library.cs | |
| parent | a8656a87887d6cb2c54f4bbeacee37f7074f1032 (diff) | |
| download | wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.gz wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.bz2 wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.zip | |
Introduce WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Data/Library.cs')
| -rw-r--r-- | src/WixToolset.Data/Library.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WixToolset.Data/Library.cs b/src/WixToolset.Data/Library.cs index d82e64e0..13a670b0 100644 --- a/src/WixToolset.Data/Library.cs +++ b/src/WixToolset.Data/Library.cs | |||
| @@ -15,6 +15,7 @@ namespace WixToolset.Data | |||
| 15 | public const string XmlNamespaceUri = "http://wixtoolset.org/schemas/v4/wixlib"; | 15 | public const string XmlNamespaceUri = "http://wixtoolset.org/schemas/v4/wixlib"; |
| 16 | private static readonly Version CurrentVersion = new Version("4.0.0.0"); | 16 | private static readonly Version CurrentVersion = new Version("4.0.0.0"); |
| 17 | 17 | ||
| 18 | #if false | ||
| 18 | private string id; | 19 | private string id; |
| 19 | private List<string> embedFilePaths; | 20 | private List<string> embedFilePaths; |
| 20 | private Dictionary<string, Localization> localizations; | 21 | private Dictionary<string, Localization> localizations; |
| @@ -186,7 +187,7 @@ namespace WixToolset.Data | |||
| 186 | switch (reader.LocalName) | 187 | switch (reader.LocalName) |
| 187 | { | 188 | { |
| 188 | case "localization": | 189 | case "localization": |
| 189 | Localization localization = Localization.Read(reader, tableDefinitions); | 190 | Localization localization = Localization.Read(reader); |
| 190 | library.localizations.Add(localization.Culture, localization); | 191 | library.localizations.Add(localization.Culture, localization); |
| 191 | break; | 192 | break; |
| 192 | case "section": | 193 | case "section": |
| @@ -237,5 +238,6 @@ namespace WixToolset.Data | |||
| 237 | 238 | ||
| 238 | writer.WriteEndElement(); | 239 | writer.WriteEndElement(); |
| 239 | } | 240 | } |
| 241 | #endif | ||
| 240 | } | 242 | } |
| 241 | } | 243 | } |
