From 6241bbf88e61f07816ea8fd028d7aaeba6bc524e Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 26 Sep 2020 20:31:50 -0400 Subject: Last bit of inner text expunged. --- src/test/examples/TestEngine/Example.TestEngine.vcxproj | 4 ++-- src/wixext/BalCompiler.cs | 5 ++++- src/wixlib/bal.wixproj | 11 +++-------- 3 files changed, 9 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/test/examples/TestEngine/Example.TestEngine.vcxproj b/src/test/examples/TestEngine/Example.TestEngine.vcxproj index cc772e37..543668d2 100644 --- a/src/test/examples/TestEngine/Example.TestEngine.vcxproj +++ b/src/test/examples/TestEngine/Example.TestEngine.vcxproj @@ -27,9 +27,9 @@ Application Console Example.TestEngine - v141 + v142 Unicode - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + 10.0 diff --git a/src/wixext/BalCompiler.cs b/src/wixext/BalCompiler.cs index c836adbe..484dd9e4 100644 --- a/src/wixext/BalCompiler.cs +++ b/src/wixext/BalCompiler.cs @@ -280,7 +280,7 @@ namespace WixToolset.Bal private void ParseConditionElement(Intermediate intermediate, IntermediateSection section, XElement node) { var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node); - var condition = this.ParseHelper.GetConditionInnerText(node); // condition is the inner text of the element. + string condition = null; string message = null; foreach (var attrib in node.Attributes()) @@ -292,6 +292,9 @@ namespace WixToolset.Bal case "Message": message = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); break; + case "Condition": + condition = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); + break; default: this.ParseHelper.UnexpectedAttribute(node, attrib); break; diff --git a/src/wixlib/bal.wixproj b/src/wixlib/bal.wixproj index 5c743cd9..5657ffbd 100644 --- a/src/wixlib/bal.wixproj +++ b/src/wixlib/bal.wixproj @@ -1,27 +1,22 @@ - - + Library true en-us - - + - - - - + \ No newline at end of file -- cgit v1.2.3-55-g6feb