aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LinkerWarnings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/LinkerWarnings.cs')
-rw-r--r--src/WixToolset.Core/LinkerWarnings.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WixToolset.Core/LinkerWarnings.cs b/src/WixToolset.Core/LinkerWarnings.cs
index 0eca090e..968fa4ea 100644
--- a/src/WixToolset.Core/LinkerWarnings.cs
+++ b/src/WixToolset.Core/LinkerWarnings.cs
@@ -16,6 +16,11 @@ namespace WixToolset.Core
16 return Message(sourceLineNumbers, Ids.PayloadInMultipleContainers, "The Payload '{0}' can't be added to Container '{1}' because it was already added to Container '{2}'.", payloadId, containerId1, containerId2); 16 return Message(sourceLineNumbers, Ids.PayloadInMultipleContainers, "The Payload '{0}' can't be added to Container '{1}' because it was already added to Container '{2}'.", payloadId, containerId1, containerId2);
17 } 17 }
18 18
19 public static Message UncompressedPayloadInContainer(SourceLineNumber sourceLineNumbers, string payloadId, string containerId)
20 {
21 return Message(sourceLineNumbers, Ids.UncompressedPayloadInContainer, "The Payload '{0}' is being added to Container '{1}', overriding its Compressed value of 'no'.", payloadId, containerId);
22 }
23
19 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) 24 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args)
20 { 25 {
21 return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args); 26 return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args);
@@ -25,6 +30,7 @@ namespace WixToolset.Core
25 { 30 {
26 LayoutPayloadInContainer = 6900, 31 LayoutPayloadInContainer = 6900,
27 PayloadInMultipleContainers = 6901, 32 PayloadInMultipleContainers = 6901,
33 UncompressedPayloadInContainer = 6902,
28 } // last available is 6999. 7000 is LinkerErrors. 34 } // last available is 6999. 7000 is LinkerErrors.
29 } 35 }
30} 36}