summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/wix/WixToolset.Data/ErrorMessages.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/ErrorMessages.cs b/src/api/wix/WixToolset.Data/ErrorMessages.cs
index e7c88613..79b835cd 100644
--- a/src/api/wix/WixToolset.Data/ErrorMessages.cs
+++ b/src/api/wix/WixToolset.Data/ErrorMessages.cs
@@ -2256,6 +2256,11 @@ namespace WixToolset.Data
2256 return Message(sourceLineNumbers, Ids.IllegalInnerText, "The {0} element contains inner text which is obsolete. Use the {1} attribute instead.", elementName, attributeName); 2256 return Message(sourceLineNumbers, Ids.IllegalInnerText, "The {0} element contains inner text which is obsolete. Use the {1} attribute instead.", elementName, attributeName);
2257 } 2257 }
2258 2258
2259 public static Message IllegalAttributeWhenNested(SourceLineNumber sourceLineNumbers, string attributeName)
2260 {
2261 return Message(sourceLineNumbers, Ids.IllegalAttributeWhenNested, "The File element contains an attribute '{0}' that cannot be used in a File element that is a child of a Component element.", attributeName);
2262 }
2263
2259 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) 2264 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args)
2260 { 2265 {
2261 return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); 2266 return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args);