From 37067209fa6defaecc877bab07262e9cf78088c5 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Tue, 26 Jan 2021 11:35:19 -0500 Subject: Add DefaultCompressionLevel support. --- src/WixToolset.Data/ErrorMessages.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index 644f08d7..b2a32961 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs @@ -954,9 +954,9 @@ namespace WixToolset.Data return Message(sourceLineNumbers, Ids.IllegalComponentWithAutoGeneratedGuid, "The Component/@Guid attribute's value '*' is not valid for this component because it does not meet the criteria for having an automatically generated guid. Components with registry keypaths and files cannot use an automatically generated guid. Create multiple components, each with one file and/or one registry value keypath, to use automatically generated guids.", registryKeyPath); } - public static Message IllegalCompressionLevel(string compressionLevel) + public static Message IllegalCompressionLevel(SourceLineNumber sourceLineNumbers, string compressionLevel) { - return Message(null, Ids.IllegalCompressionLevel, "The compression level '{0}' is not valid. Valid values are 'none', 'low', 'medium', 'high', and 'mszip'.", compressionLevel); + return Message(sourceLineNumbers, Ids.IllegalCompressionLevel, "The compression level '{0}' is not valid. Valid values are 'none', 'low', 'medium', 'high', and 'mszip'.", compressionLevel); } public static Message IllegalDefineStatement(SourceLineNumber sourceLineNumbers, string defineStatement) -- cgit v1.2.3-55-g6feb