diff options
author | Bob Arnson <bob@firegiant.com> | 2020-09-30 18:52:30 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-09-30 18:55:08 -0400 |
commit | 7605d23ec7ce4899aef9851b9e72002ac47d9007 (patch) | |
tree | e49b4125a48ec97db93193c99c47ea822ddd4084 /src | |
parent | ff976bcda3a0fb9632e353800025a7d87f31ee16 (diff) | |
download | wix-7605d23ec7ce4899aef9851b9e72002ac47d9007.tar.gz wix-7605d23ec7ce4899aef9851b9e72002ac47d9007.tar.bz2 wix-7605d23ec7ce4899aef9851b9e72002ac47d9007.zip |
Add error message for cases where inner text used to be used.
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Data/ErrorMessages.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index 32757deb..61bc72af 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs | |||
@@ -2284,6 +2284,11 @@ namespace WixToolset.Data | |||
2284 | return Message(null, Ids.UnknownSymbolType, "Could not deserialize symbol of type type '{0}' because it is not a standard symbol type or one provided by a loaded extension.", symbolName); | 2284 | return Message(null, Ids.UnknownSymbolType, "Could not deserialize symbol of type type '{0}' because it is not a standard symbol type or one provided by a loaded extension.", symbolName); |
2285 | } | 2285 | } |
2286 | 2286 | ||
2287 | public static Message IllegalInnerText(SourceLineNumber sourceLineNumbers, string elementName, string innerText) | ||
2288 | { | ||
2289 | return Message(sourceLineNumbers, Ids.IllegalInnerText, "The {0} element contains illegal inner text: '{1}'.", elementName, innerText); | ||
2290 | } | ||
2291 | |||
2287 | private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) | 2292 | private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) |
2288 | { | 2293 | { |
2289 | return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); | 2294 | return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); |
@@ -2686,6 +2691,7 @@ namespace WixToolset.Data | |||
2686 | MissingBundleSearch = 397, | 2691 | MissingBundleSearch = 397, |
2687 | CircularSearchReference = 398, | 2692 | CircularSearchReference = 398, |
2688 | UnknownSymbolType = 399, | 2693 | UnknownSymbolType = 399, |
2694 | IllegalInnerText = 400, | ||
2689 | } | 2695 | } |
2690 | } | 2696 | } |
2691 | } | 2697 | } |