@joebigelow / wix-1 / commits / 7f0a67c7

Improve missing entry section error message.

Fixes https://github.com/wixtoolset/issues/issues/5886

Bob Arnson committed Mar 7, 2021 at 17:44 UTC 7f0a67c7c4570f3e453b046b193c06b345fd9f43
1 file changed +5
src/WixToolset.Data/ErrorMessages.cs
+5
@@ -1489,6 +1489,11 @@ namespace WixToolset.Data
1489 return Message(null, Ids.MissingDependencyVersion, "The provider dependency version was not authored for the package with Id '{0}'. Please author the Provides/@Version attribute for this package.", packageId);
1490 }
1491
1492 + public static Message MissingEntrySection()
1493 + {
1494 + return Message(null, Ids.MissingEntrySection, "Could not find entry section in provided list of intermediates. Supported entry section types are: Product, Bundle, Patch, PatchCreation, Module.");
1495 + }
1496 +
1497 public static Message MissingEntrySection(string sectionType)
1498 {
1499 return Message(null, Ids.MissingEntrySection, "Could not find entry section in provided list of intermediates. Expected section of type '{0}'.", sectionType);