diff options
author | Bob Arnson <bob@firegiant.com> | 2020-10-28 17:10:38 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-10-28 17:15:50 -0400 |
commit | f28de8b2b38a09af130bc128b6226a2010ab535d (patch) | |
tree | f1b43011c2d965c5cec6d3592d7a891b14204401 /src/WixToolset.Core/Compiler.cs | |
parent | 20cc160df97aa67a4bfc6452943c4d1b86bf45e2 (diff) | |
download | wix-f28de8b2b38a09af130bc128b6226a2010ab535d.tar.gz wix-f28de8b2b38a09af130bc128b6226a2010ab535d.tar.bz2 wix-f28de8b2b38a09af130bc128b6226a2010ab535d.zip |
A bit of cleanup on now-defunct Product element references.
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 4 |
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"]; |