diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/BuildCommand.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index 822c4a9a..5c089b5f 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs | |||
@@ -317,6 +317,8 @@ namespace WixToolset.Core.CommandLine | |||
317 | 317 | ||
318 | private IEnumerable<Localization> LoadLocalizationFiles() | 318 | private IEnumerable<Localization> LoadLocalizationFiles() |
319 | { | 319 | { |
320 | var localizer = new Localizer(this.ServiceProvider); | ||
321 | |||
320 | foreach (var loc in this.LocFiles) | 322 | foreach (var loc in this.LocFiles) |
321 | { | 323 | { |
322 | var preprocessor = new Preprocessor(this.ServiceProvider); | 324 | var preprocessor = new Preprocessor(this.ServiceProvider); |
@@ -331,8 +333,7 @@ namespace WixToolset.Core.CommandLine | |||
331 | continue; | 333 | continue; |
332 | } | 334 | } |
333 | 335 | ||
334 | var localization = Localizer.ParseLocalizationFile(this.Messaging, document); | 336 | var localization = localizer.ParseLocalizationFile(document); |
335 | |||
336 | yield return localization; | 337 | yield return localization; |
337 | } | 338 | } |
338 | } | 339 | } |