From c5190ae74ab8fe13609362efce88fa4b8cc24f34 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 30 Dec 2017 17:09:15 -0800 Subject: Fix resolution of localizations that are embedded in intermediates --- src/WixToolset.Core/CommandLine/BuildCommand.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs') 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 private void BindPhase(Intermediate output) { - var localizations = this.LoadLocalizationFiles().ToList(); + var localizations = new List(output.Localizations); + + localizations.AddRange(this.LoadLocalizationFiles()); // If there was an error loading localization files, then bail. if (this.Messaging.EncounteredError) -- cgit v1.2.3-55-g6feb