From 47a086901d4227ad8d63b82602e4e0132a295741 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 8 Jun 2020 16:28:58 -0700 Subject: Add error when extension cannot be found in cache --- src/WixToolset.Data/ErrorMessages.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index aef2ab66..cb8d5f8f 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs @@ -1239,6 +1239,11 @@ namespace WixToolset.Data return Message(sourceLineNumbers, Ids.InvalidEmbeddedUIFileName, "The EmbeddedUI/@Name attribute value, '{0}', does not contain an extension. Windows Installer will not load an embedded UI DLL without an extension. Include an extension or just omit the Name attribute so it defaults to the file name portion of the Source attribute value.", codepage); } + public static Message CouldNotFindExtensionInPaths(string extensionPath, IEnumerable checkedPaths) + { + return Message(null, Ids.InvalidExtension, "The extension '{0}' could not be found. Checked paths: {1}", extensionPath, String.Join(", ", checkedPaths)); + } + public static Message InvalidExtension(string extension) { return Message(null, Ids.InvalidExtension, "The extension '{0}' could not be loaded.", extension); -- cgit v1.2.3-55-g6feb