@joebigelow / wix / commits / 67ffa696

Clean up some obsolete deprecation warnings.

Bob Arnson committed Mar 21, 2021 at 21:48 UTC 67ffa696f20f169dd1c1c47261731c9a6e036a4e
1 file changed -11
src/WixToolset.Data/WarningMessages.cs
-11
@@ -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);
168 }
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 -
170 public static Message DeprecatedPatchSequenceTargetAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName)
171 {
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
752 DeprecatedIgnoreModularizationElement = 1085,
753 PropertyModularizationSuppressed = 1086,
754 DeprecatedPackageCompressedAttribute = 1087,
765 - DeprecatedModuleGuidAttribute = 1088,
755 DeprecatedQuestionMarksGuid = 1090,
756 PackageCodeSet = 1091,
757 InvalidModuleOrBundleVersion = 1093,