diff options
author | Rob Mensching <rob@firegiant.com> | 2017-12-30 17:09:15 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-12-30 17:09:15 -0800 |
commit | c5190ae74ab8fe13609362efce88fa4b8cc24f34 (patch) | |
tree | e7762224afad491c37b70bab13756552c72fdd26 /src/WixToolset.Core/CommandLine/BuildCommand.cs | |
parent | d4f73e72985dc2f36e4228358f4dc9b6114414ab (diff) | |
download | wix-c5190ae74ab8fe13609362efce88fa4b8cc24f34.tar.gz wix-c5190ae74ab8fe13609362efce88fa4b8cc24f34.tar.bz2 wix-c5190ae74ab8fe13609362efce88fa4b8cc24f34.zip |
Fix resolution of localizations that are embedded in intermediates
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/BuildCommand.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index fb258179..e11cd15a 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs | |||
@@ -186,7 +186,9 @@ namespace WixToolset.Core.CommandLine | |||
186 | 186 | ||
187 | private void BindPhase(Intermediate output) | 187 | private void BindPhase(Intermediate output) |
188 | { | 188 | { |
189 | var localizations = this.LoadLocalizationFiles().ToList(); | 189 | var localizations = new List<Localization>(output.Localizations); |
190 | |||
191 | localizations.AddRange(this.LoadLocalizationFiles()); | ||
190 | 192 | ||
191 | // If there was an error loading localization files, then bail. | 193 | // If there was an error loading localization files, then bail. |
192 | if (this.Messaging.EncounteredError) | 194 | if (this.Messaging.EncounteredError) |