aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Compiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r--src/WixToolset.Core/Compiler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs
index a575bb95..3dfe36c2 100644
--- a/src/WixToolset.Core/Compiler.cs
+++ b/src/WixToolset.Core/Compiler.cs
@@ -6962,13 +6962,13 @@ namespace WixToolset.Core
6962 var upgradeCode = contextValues["UpgradeCode"]; 6962 var upgradeCode = contextValues["UpgradeCode"];
6963 if (String.IsNullOrEmpty(upgradeCode)) 6963 if (String.IsNullOrEmpty(upgradeCode))
6964 { 6964 {
6965 this.Core.Write(ErrorMessages.ParentElementAttributeRequired(sourceLineNumbers, "Product", "UpgradeCode", node.Name.LocalName)); 6965 this.Core.Write(ErrorMessages.ParentElementAttributeRequired(sourceLineNumbers, "Package", "UpgradeCode", node.Name.LocalName));
6966 } 6966 }
6967 6967
6968 var productVersion = contextValues["ProductVersion"]; 6968 var productVersion = contextValues["ProductVersion"];
6969 if (String.IsNullOrEmpty(productVersion)) 6969 if (String.IsNullOrEmpty(productVersion))
6970 { 6970 {
6971 this.Core.Write(ErrorMessages.ParentElementAttributeRequired(sourceLineNumbers, "Product", "Version", node.Name.LocalName)); 6971 this.Core.Write(ErrorMessages.ParentElementAttributeRequired(sourceLineNumbers, "Package", "Version", node.Name.LocalName));
6972 } 6972 }
6973 6973
6974 var productLanguage = contextValues["ProductLanguage"]; 6974 var productLanguage = contextValues["ProductLanguage"];