Add TupleNotTranslatedToOutput warning.
Sean Hall committed
Apr 12, 2020 at 11:54 UTC
1b46a79f04302fdbb5b5129ecbf4563a95e9843d
1 file changed
+7
src/WixToolset.Data/WarningMessages.cs
+7
@@ -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);
568
}
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
+
576
public static Message UnableToFindFileFromCabOrImage(SourceLineNumber sourceLineNumbers, string existingFileSpec, string srcFileSpec)
577
{
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
779
BackslashTerminateInlineDirectorySyntax = 1147,
780
VersionTruncated = 1148,
781
ServiceConfigFamilyNotSupported = 1149,
782
+ TupleNotTranslatedToOutput = 1150,
783
}
784
}
785
}