diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-12-19 14:41:19 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-12-19 21:32:39 -0600 |
commit | 85deb61f666f6817c1a137ace4d666c8ae2940fb (patch) | |
tree | b341f45a3a9d1a58d7cd2bf37f1565d7d34ce970 /src/WixToolset.Core/Compiler_Bundle.cs | |
parent | 149867e176f22fe0af1a57355a7ace820710a791 (diff) | |
download | wix-85deb61f666f6817c1a137ace4d666c8ae2940fb.tar.gz wix-85deb61f666f6817c1a137ace4d666c8ae2940fb.tar.bz2 wix-85deb61f666f6817c1a137ace4d666c8ae2940fb.zip |
4862 - Disallow Burn Variables that are Hidden and Persisted.
Diffstat (limited to 'src/WixToolset.Core/Compiler_Bundle.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler_Bundle.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Compiler_Bundle.cs b/src/WixToolset.Core/Compiler_Bundle.cs index 0817aef3..86fec16e 100644 --- a/src/WixToolset.Core/Compiler_Bundle.cs +++ b/src/WixToolset.Core/Compiler_Bundle.cs | |||
@@ -3178,6 +3178,11 @@ namespace WixToolset.Core | |||
3178 | this.Core.Write(ErrorMessages.ReservedNamespaceViolation(sourceLineNumbers, node.Name.LocalName, "Name", "Wix")); | 3178 | this.Core.Write(ErrorMessages.ReservedNamespaceViolation(sourceLineNumbers, node.Name.LocalName, "Name", "Wix")); |
3179 | } | 3179 | } |
3180 | 3180 | ||
3181 | if (hidden && persisted) | ||
3182 | { | ||
3183 | this.Core.Write(ErrorMessages.IllegalAttributeValueWithOtherAttribute(sourceLineNumbers, node.Name.LocalName, "Hidden", "yes", "Persisted")); | ||
3184 | } | ||
3185 | |||
3181 | var type = this.ValidateVariableTypeWithValue(sourceLineNumbers, node, typeValue, value); | 3186 | var type = this.ValidateVariableTypeWithValue(sourceLineNumbers, node, typeValue, value); |
3182 | 3187 | ||
3183 | this.Core.ParseForExtensionElements(node); | 3188 | this.Core.ParseForExtensionElements(node); |