From 7a7f88c3009ad824852322682cc8cfd3173c2e02 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Wed, 30 Sep 2020 18:56:06 -0400 Subject: Add error message for cases where inner text used to be used. --- src/WixToolset.Core/Compiler.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/WixToolset.Core/Compiler.cs') diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 286a598b..d9c60ef6 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs @@ -3382,6 +3382,8 @@ namespace WixToolset.Core win64 = true; } + this.Core.VerifyNoInnerText(sourceLineNumbers, node); + // if we have an in-lined Script CustomAction ensure no source or target attributes were provided if (inlineScript) { @@ -5349,6 +5351,8 @@ namespace WixToolset.Core } } + this.Core.VerifyNoInnerText(sourceLineNumbers, node); + if (CompilerConstants.IntegerNotSet == id) { this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Id")); @@ -7598,7 +7602,7 @@ namespace WixToolset.Core } /// - /// Parses a condition element. + /// Parses a Level element. /// /// Element to parse. /// Id of the parent Feature element. -- cgit v1.2.3-55-g6feb