aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2021-03-21 21:48:45 -0400
committerBob Arnson <bob@firegiant.com>2021-03-21 21:50:55 -0400
commit67ffa696f20f169dd1c1c47261731c9a6e036a4e (patch)
treeb8109d2c74de98c1500025ae04e6b9bcf90015d3 /src
parent828e1415ca07c694d4890a58595d0d1bac8c7f92 (diff)
downloadwix-67ffa696f20f169dd1c1c47261731c9a6e036a4e.tar.gz
wix-67ffa696f20f169dd1c1c47261731c9a6e036a4e.tar.bz2
wix-67ffa696f20f169dd1c1c47261731c9a6e036a4e.zip
Clean up some obsolete deprecation warnings.
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Data/WarningMessages.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/WixToolset.Data/WarningMessages.cs b/src/WixToolset.Data/WarningMessages.cs
index 681f2c21..835c5ef4 100644
--- a/src/WixToolset.Data/WarningMessages.cs
+++ b/src/WixToolset.Data/WarningMessages.cs
@@ -167,16 +167,6 @@ namespace WixToolset.Data
167 return Message(sourceLineNumbers, Ids.DeprecatedLongNameAttribute, "The {0}/@{1} attribute has been deprecated. Since WiX now has the ability to generate short file/directory names, the desired name should be specified in the {2} attribute instead. If the name specified in the {2} attribute is a short name, then WiX will not generate a short name. If the name specified in the {2} attribute is a long name and you want to manually specify the short name, please set the short name value in the {3} attribute.", elementName, longNameAttributeName, nameAttributeName, shortNameAttributeName); 167 return Message(sourceLineNumbers, Ids.DeprecatedLongNameAttribute, "The {0}/@{1} attribute has been deprecated. Since WiX now has the ability to generate short file/directory names, the desired name should be specified in the {2} attribute instead. If the name specified in the {2} attribute is a short name, then WiX will not generate a short name. If the name specified in the {2} attribute is a long name and you want to manually specify the short name, please set the short name value in the {3} attribute.", elementName, longNameAttributeName, nameAttributeName, shortNameAttributeName);
168 } 168 }
169 169
170 public static Message DeprecatedModuleGuidAttribute(SourceLineNumber sourceLineNumbers)
171 {
172 return Message(sourceLineNumbers, Ids.DeprecatedModuleGuidAttribute, "The Module/@Guid attribute is deprecated merge modules use their package code as the modularization guid. Use the Package/@Id attribute instead.");
173 }
174
175 public static Message DeprecatedPackageCompressedAttribute(SourceLineNumber sourceLineNumbers)
176 {
177 return Message(sourceLineNumbers, Ids.DeprecatedPackageCompressedAttribute, "The Package/@Compressed attribute is deprecated under the Module element because merge modules must always be compressed.");
178 }
179
180 public static Message DeprecatedPatchSequenceTargetAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) 170 public static Message DeprecatedPatchSequenceTargetAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName)
181 { 171 {
182 return Message(sourceLineNumbers, Ids.DeprecatedPatchSequenceTargetAttribute, "The {0}/@{1} attribute has been deprecated in favor of the more strongly-typed ProductCode or TargetImage attributes. Please use the ProductCode attribute for indicating the ProductCode of a patch family directly, or the TargetImage attribute to specify the TargetImage which in turn will retrieve the ProductCode of the patch family.", elementName, attributeName); 172 return Message(sourceLineNumbers, Ids.DeprecatedPatchSequenceTargetAttribute, "The {0}/@{1} attribute has been deprecated in favor of the more strongly-typed ProductCode or TargetImage attributes. Please use the ProductCode attribute for indicating the ProductCode of a patch family directly, or the TargetImage attribute to specify the TargetImage which in turn will retrieve the ProductCode of the patch family.", elementName, attributeName);
@@ -762,7 +752,6 @@ namespace WixToolset.Data
762 DeprecatedIgnoreModularizationElement = 1085, 752 DeprecatedIgnoreModularizationElement = 1085,
763 PropertyModularizationSuppressed = 1086, 753 PropertyModularizationSuppressed = 1086,
764 DeprecatedPackageCompressedAttribute = 1087, 754 DeprecatedPackageCompressedAttribute = 1087,
765 DeprecatedModuleGuidAttribute = 1088,
766 DeprecatedQuestionMarksGuid = 1090, 755 DeprecatedQuestionMarksGuid = 1090,
767 PackageCodeSet = 1091, 756 PackageCodeSet = 1091,
768 InvalidModuleOrBundleVersion = 1093, 757 InvalidModuleOrBundleVersion = 1093,