aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Compiler_Bundle.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-12-19 14:41:19 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-12-19 21:32:39 -0600
commit85deb61f666f6817c1a137ace4d666c8ae2940fb (patch)
treeb341f45a3a9d1a58d7cd2bf37f1565d7d34ce970 /src/WixToolset.Core/Compiler_Bundle.cs
parent149867e176f22fe0af1a57355a7ace820710a791 (diff)
downloadwix-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.cs5
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);