diff options
author | Rob Mensching <rob@firegiant.com> | 2018-08-01 03:02:34 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-08-01 03:02:34 -0700 |
commit | 52005c7e6917f9866dd0b0de6993def16a72ed4b (patch) | |
tree | 59e32ad17a3ca5915c4cddbeaa83b58a73f0c3a5 /src/WixToolset.Core/CommandLine/BuildCommand.cs | |
parent | 79473d778b6cc4c8eec93b92e3b244aed904dac1 (diff) | |
download | wix-52005c7e6917f9866dd0b0de6993def16a72ed4b.tar.gz wix-52005c7e6917f9866dd0b0de6993def16a72ed4b.tar.bz2 wix-52005c7e6917f9866dd0b0de6993def16a72ed4b.zip |
Major reduction in public surface area of WixToolset.Core
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 | } |