From 5a0cb97b9fe28dc4d41176541892388a1c46c354 Mon Sep 17 00:00:00 2001
From: Rob Mensching <rob@firegiant.com>
Date: Thu, 19 Jan 2023 16:55:20 -0800
Subject: Warn when using `embedded` as the pdbType and fallback to `full`

Fixes 7152
---
 src/api/wix/WixToolset.Data/WarningMessages.cs | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/api')

diff --git a/src/api/wix/WixToolset.Data/WarningMessages.cs b/src/api/wix/WixToolset.Data/WarningMessages.cs
index 5455c3ad..65716ba7 100644
--- a/src/api/wix/WixToolset.Data/WarningMessages.cs
+++ b/src/api/wix/WixToolset.Data/WarningMessages.cs
@@ -643,6 +643,11 @@ namespace WixToolset.Data
             return Message(null, Ids.UnsupportedCommandLineArgument, "'{0}' is not a valid command line argument.", arg);
         }
 
+        public static Message UnsupportedCommandLineArgumentValue(string arg, string value, string fallback)
+        {
+            return Message(null, Ids.UnsupportedCommandLineArgument, "The value '{0}' is not a valid value for command line argument '{1}'. Using the value '{2}' instead.", value, arg, fallback);
+        }
+
         public static Message UpdateOfNonKeyPathFile(string nonKeyPathFileId, string componentId, string keyPathFileId)
         {
             return Message(null, Ids.UpdateOfNonKeyPathFile, "File '{0}' in Component '{1}' was changed, but the KeyPath file '{2}' was not. This file will not be patched on the target system if the REINSTALLMODE does not contain 'A'. The KeyPath file should also be changed and included in your patch.", nonKeyPathFileId, componentId, keyPathFileId);
-- 
cgit v1.2.3-55-g6feb