aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-12 11:54:32 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-12 12:41:13 +1000
commit1b46a79f04302fdbb5b5129ecbf4563a95e9843d (patch)
tree116223fab1c4a45b34f5a7f74a8b1b16f81e255e
parentf49060303504d112b1580c1c90430aab4aaf1763 (diff)
downloadwix-1b46a79f04302fdbb5b5129ecbf4563a95e9843d.tar.gz
wix-1b46a79f04302fdbb5b5129ecbf4563a95e9843d.tar.bz2
wix-1b46a79f04302fdbb5b5129ecbf4563a95e9843d.zip
Add TupleNotTranslatedToOutput warning.
-rw-r--r--src/WixToolset.Data/WarningMessages.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WarningMessages.cs b/src/WixToolset.Data/WarningMessages.cs
index 25e189bb..55bf2c2c 100644
--- a/src/WixToolset.Data/WarningMessages.cs
+++ b/src/WixToolset.Data/WarningMessages.cs
@@ -567,6 +567,12 @@ namespace WixToolset.Data
567 return Message(sourceLineNumbers, Ids.TooManyProgIds, "Class '{0}' tried to use ProgId '{1}' which has already been associated with class '{2}'. This information will be left out of the decompiled output.", clsId, progId, otherClsId); 567 return Message(sourceLineNumbers, Ids.TooManyProgIds, "Class '{0}' tried to use ProgId '{1}' which has already been associated with class '{2}'. This information will be left out of the decompiled output.", clsId, progId, otherClsId);
568 } 568 }
569 569
570 public static Message TupleNotTranslatedToOutput(IntermediateTuple tuple)
571 {
572 var tupleString = $"TupleName: '{tuple.Definition.Name}', Id: '{tuple.Id?.Id}'";
573 return Message(tuple.SourceLineNumbers, Ids.TupleNotTranslatedToOutput, "The binder doesn't know how to place the following tuple into the output: {0}", tupleString);
574 }
575
570 public static Message UnableToFindFileFromCabOrImage(SourceLineNumber sourceLineNumbers, string existingFileSpec, string srcFileSpec) 576 public static Message UnableToFindFileFromCabOrImage(SourceLineNumber sourceLineNumbers, string existingFileSpec, string srcFileSpec)
571 { 577 {
572 return Message(sourceLineNumbers, Ids.UnableToFindFileFromCabOrImage, "Unable to find existing file {0} to place in src location {1}. Will likely cause a linker break.", existingFileSpec, srcFileSpec); 578 return Message(sourceLineNumbers, Ids.UnableToFindFileFromCabOrImage, "Unable to find existing file {0} to place in src location {1}. Will likely cause a linker break.", existingFileSpec, srcFileSpec);
@@ -773,6 +779,7 @@ namespace WixToolset.Data
773 BackslashTerminateInlineDirectorySyntax = 1147, 779 BackslashTerminateInlineDirectorySyntax = 1147,
774 VersionTruncated = 1148, 780 VersionTruncated = 1148,
775 ServiceConfigFamilyNotSupported = 1149, 781 ServiceConfigFamilyNotSupported = 1149,
782 TupleNotTranslatedToOutput = 1150,
776 } 783 }
777 } 784 }
778} 785}