From e08086b633b701906ec7bc6246eec3148bc1d9d6 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 1 Oct 2017 14:26:14 -0700 Subject: Minor code cleanup --- src/WixToolset.BuildTasks/WixCommandLineBuilder.cs | 7 +++--- src/WixToolset.BuildTasks/wix.targets | 28 +++++++++++----------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'src/WixToolset.BuildTasks') diff --git a/src/WixToolset.BuildTasks/WixCommandLineBuilder.cs b/src/WixToolset.BuildTasks/WixCommandLineBuilder.cs index 3f3084a3..a979dbb0 100644 --- a/src/WixToolset.BuildTasks/WixCommandLineBuilder.cs +++ b/src/WixToolset.BuildTasks/WixCommandLineBuilder.cs @@ -3,10 +3,9 @@ namespace WixToolset.BuildTasks { using System; - using System.Diagnostics; + using System.Collections.Generic; using System.Globalization; using System.IO; - using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; @@ -17,7 +16,7 @@ namespace WixToolset.BuildTasks public class WixCommandLineBuilder : CommandLineBuilder { internal const int Unspecified = -1; - + /// /// Append a switch to the command line if the value has been specified. /// @@ -131,7 +130,7 @@ namespace WixToolset.BuildTasks if (!File.Exists(resolvedPath)) { - // Extesnion wasn't found, just set it to the extension name passed in + // Extension wasn't found, just set it to the extension name passed in resolvedPath = extension.ItemSpec; } } diff --git a/src/WixToolset.BuildTasks/wix.targets b/src/WixToolset.BuildTasks/wix.targets index bcf0163b..4da03c6f 100644 --- a/src/WixToolset.BuildTasks/wix.targets +++ b/src/WixToolset.BuildTasks/wix.targets @@ -441,9 +441,9 @@ - - - + en-US,en;en-GB,en This will build 2 targets, outputing to en-US and en-GB sub-folders. Light will first look for strings in the first culture (en-US or en-GB) then the second (en). - Cultures of .wxl files will be used when the Culture property is not set. The culture of a + Cultures of .wxl files will be used when the Culture property is not set. The culture of a .wxl file is determined by the Culture attribute in the WixLocalization element in the file - Sets the OutputFolder metadata on each culture group. In most cases this is the same as the - first culture in the culture group. When the Culture's property is unspecified and no .wxl - files are provided this is the same as the output directory. When the Culture's property + Sets the OutputFolder metadata on each culture group. In most cases this is the same as the + first culture in the culture group. When the Culture's property is unspecified and no .wxl + files are provided this is the same as the output directory. When the Culture's property specifies a single culture group and no .wxl files are provided this is the same as the output directory. @@ -1206,7 +1206,7 @@ SourceFilesProjectOutputGroup; ContentFilesProjectOutputGroup" /> - -- cgit v1.2.3-55-g6feb