From 7f0a67c7c4570f3e453b046b193c06b345fd9f43 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sun, 7 Mar 2021 17:44:38 -0500 Subject: Improve missing entry section error message. Fixes https://github.com/wixtoolset/issues/issues/5886 --- src/WixToolset.Data/ErrorMessages.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/WixToolset.Data') diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index 7924c2ab..d895775d 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs @@ -1489,6 +1489,11 @@ namespace WixToolset.Data 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); } + public static Message MissingEntrySection() + { + 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."); + } + public static Message MissingEntrySection(string sectionType) { return Message(null, Ids.MissingEntrySection, "Could not find entry section in provided list of intermediates. Expected section of type '{0}'.", sectionType); -- cgit v1.2.3-55-g6feb