Add error when extension cannot be found in cache
Rob Mensching committed
Jun 8, 2020 at 16:28 UTC
47a086901d4227ad8d63b82602e4e0132a295741
1 file changed
+5
src/WixToolset.Data/ErrorMessages.cs
+5
@@ -1239,6 +1239,11 @@ namespace WixToolset.Data
1239
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);
1240
}
1241
1242
+ public static Message CouldNotFindExtensionInPaths(string extensionPath, IEnumerable<string> checkedPaths)
1243
+ {
1244
+ return Message(null, Ids.InvalidExtension, "The extension '{0}' could not be found. Checked paths: {1}", extensionPath, String.Join(", ", checkedPaths));
1245
+ }
1246
+
1247
public static Message InvalidExtension(string extension)
1248
{
1249
return Message(null, Ids.InvalidExtension, "The extension '{0}' could not be loaded.", extension);