diff options
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/ErrorMessages.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/ErrorMessages.cs b/src/api/wix/WixToolset.Data/ErrorMessages.cs index d604e94f..f9a7d66d 100644 --- a/src/api/wix/WixToolset.Data/ErrorMessages.cs +++ b/src/api/wix/WixToolset.Data/ErrorMessages.cs | |||
@@ -2266,6 +2266,11 @@ namespace WixToolset.Data | |||
2266 | 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); | 2266 | 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); |
2267 | } | 2267 | } |
2268 | 2268 | ||
2269 | public static Message OverlengthTableNameInProductOrMergeModule(SourceLineNumber sourceLineNumbers, string tableName) | ||
2270 | { | ||
2271 | return Message(sourceLineNumbers, Ids.OverlengthTableNameInProductOrMergeModule, "The table name '{0}' is invalid because the table name exceeds 31 characters in length. For more information, see: https://learn.microsoft.com/en-au/windows/win32/msi/table-names", tableName); | ||
2272 | } | ||
2273 | |||
2269 | private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) | 2274 | private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) |
2270 | { | 2275 | { |
2271 | return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); | 2276 | return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); |
@@ -2667,6 +2672,7 @@ namespace WixToolset.Data | |||
2667 | MsiTransactionInvalidPackage2 = 412, | 2672 | MsiTransactionInvalidPackage2 = 412, |
2668 | ExpectedAttributeOrElementWithOtherAttribute = 413, | 2673 | ExpectedAttributeOrElementWithOtherAttribute = 413, |
2669 | ExpectedAttributeOrElementWithoutOtherAttribute = 414, | 2674 | ExpectedAttributeOrElementWithoutOtherAttribute = 414, |
2675 | OverlengthTableNameInProductOrMergeModule = 415 | ||
2670 | } | 2676 | } |
2671 | } | 2677 | } |
2672 | } | 2678 | } |