diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-09-09 16:03:29 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-09-09 21:14:27 -0500 |
| commit | a1307cd4e76a89598c53cb68309358a7012db553 (patch) | |
| tree | f79cf181b49f0b754afcd4ec25487bf2b284d45e /src/api/burn/WixToolset.Mba.Core/MbaCommand.cs | |
| parent | f61479585d865372645cb18c982aa708dd975da3 (diff) | |
| download | wix-a1307cd4e76a89598c53cb68309358a7012db553.tar.gz wix-a1307cd4e76a89598c53cb68309358a7012db553.tar.bz2 wix-a1307cd4e76a89598c53cb68309358a7012db553.zip | |
Move `Bundle/@CommandLineVariables` into Bal.wixext.
Implements 6858
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/MbaCommand.cs')
| -rw-r--r-- | src/api/burn/WixToolset.Mba.Core/MbaCommand.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/MbaCommand.cs b/src/api/burn/WixToolset.Mba.Core/MbaCommand.cs index 8917a334..bd93b7e7 100644 --- a/src/api/burn/WixToolset.Mba.Core/MbaCommand.cs +++ b/src/api/burn/WixToolset.Mba.Core/MbaCommand.cs | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Mba.Core | 3 | namespace WixToolset.Mba.Core |
| 4 | { | 4 | { |
| 5 | using System; | ||
| 5 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
| 6 | 7 | ||
| 7 | /// <summary> | 8 | /// <summary> |
| @@ -21,11 +22,11 @@ namespace WixToolset.Mba.Core | |||
| 21 | { | 22 | { |
| 22 | foreach (var kvp in this.Variables) | 23 | foreach (var kvp in this.Variables) |
| 23 | { | 24 | { |
| 24 | var key = overridableVariables.CommandLineType == VariableCommandLineType.UpperCase ? kvp.Key.ToUpperInvariant() : kvp.Key; | 25 | var key = kvp.Key; |
| 25 | 26 | ||
| 26 | if (!overridableVariables.Variables.TryGetValue(key, out var overridableVariable)) | 27 | if (!overridableVariables.Variables.TryGetValue(key, out var overridableVariable)) |
| 27 | { | 28 | { |
| 28 | engine.Log(LogLevel.Error, string.Format("Ignoring attempt to set non-overridable variable: '{0}'.", key)); | 29 | engine.Log(LogLevel.Error, String.Format("Ignoring attempt to set non-overridable variable: '{0}'.", key)); |
| 29 | } | 30 | } |
| 30 | else | 31 | else |
| 31 | { | 32 | { |
