summaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Core/Compile/CompilerPayload.cs')
-rw-r--r--src/wix/WixToolset.Core/Compile/CompilerPayload.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wix/WixToolset.Core/Compile/CompilerPayload.cs b/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
index a83f1d8b..e3dfc342 100644
--- a/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
+++ b/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
@@ -115,22 +115,22 @@ namespace WixToolset.Core
115 115
116 if (!String.IsNullOrEmpty(this.Description)) 116 if (!String.IsNullOrEmpty(this.Description))
117 { 117 {
118 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(this.SourceLineNumbers, this.Element.Name.LocalName, "Description", "SourceFile")); 118 this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(this.SourceLineNumbers, this.Element.Name.LocalName, "Description", "Hash", "CertificatePublicKey"));
119 } 119 }
120 120
121 if (!String.IsNullOrEmpty(this.ProductName)) 121 if (!String.IsNullOrEmpty(this.ProductName))
122 { 122 {
123 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(this.SourceLineNumbers, this.Element.Name.LocalName, "ProductName", "SourceFile")); 123 this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(this.SourceLineNumbers, this.Element.Name.LocalName, "ProductName", "Hash", "CertificatePublicKey"));
124 } 124 }
125 125
126 if (this.Size.HasValue) 126 if (this.Size.HasValue)
127 { 127 {
128 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(this.SourceLineNumbers, this.Element.Name.LocalName, "Size", "SourceFile")); 128 this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(this.SourceLineNumbers, this.Element.Name.LocalName, "Size", "Hash", "CertificatePublicKey"));
129 } 129 }
130 130
131 if (!String.IsNullOrEmpty(this.Version)) 131 if (!String.IsNullOrEmpty(this.Version))
132 { 132 {
133 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(this.SourceLineNumbers, this.Element.Name.LocalName, "Version", "SourceFile")); 133 this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(this.SourceLineNumbers, this.Element.Name.LocalName, "Version", "Hash", "CertificatePublicKey"));
134 } 134 }
135 } 135 }
136 else 136 else