diff options
Diffstat (limited to 'src/tools/heat/Data/HarvesterWarnings.cs')
-rw-r--r-- | src/tools/heat/Data/HarvesterWarnings.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/heat/Data/HarvesterWarnings.cs b/src/tools/heat/Data/HarvesterWarnings.cs index 80ee5c31..1bbd5bed 100644 --- a/src/tools/heat/Data/HarvesterWarnings.cs +++ b/src/tools/heat/Data/HarvesterWarnings.cs | |||
@@ -2,13 +2,17 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Harvesters.Data | 3 | namespace WixToolset.Harvesters.Data |
4 | { | 4 | { |
5 | using System; | ||
6 | using System.Resources; | 5 | using System.Resources; |
7 | using WixToolset.Data; | 6 | using WixToolset.Data; |
8 | 7 | ||
9 | #pragma warning disable 1591 // TODO: add documentation | 8 | #pragma warning disable 1591 // TODO: add documentation |
10 | public static class HarvesterWarnings | 9 | public static class HarvesterWarnings |
11 | { | 10 | { |
11 | public static Message HeatIsDeprecated() | ||
12 | { | ||
13 | return Message(null, Ids.HeatIsDeprecated, "Heat is deprecated and will be removed in WiX v7. Consider alternative solutions, like the Files element."); | ||
14 | } | ||
15 | |||
12 | public static Message AssemblyHarvestFailed(string file, string message) | 16 | public static Message AssemblyHarvestFailed(string file, string message) |
13 | { | 17 | { |
14 | return Message(null, Ids.AssemblyHarvestFailed, "Could not harvest data from a file that was expected to be an assembly: {0}. If this file is not an assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: {1}", file, message); | 18 | return Message(null, Ids.AssemblyHarvestFailed, "Could not harvest data from a file that was expected to be an assembly: {0}. If this file is not an assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: {1}", file, message); |
@@ -66,6 +70,7 @@ namespace WixToolset.Harvesters.Data | |||
66 | 70 | ||
67 | public enum Ids | 71 | public enum Ids |
68 | { | 72 | { |
73 | HeatIsDeprecated = 5149, | ||
69 | SelfRegHarvestFailed = 5150, | 74 | SelfRegHarvestFailed = 5150, |
70 | AssemblyHarvestFailed = 5151, | 75 | AssemblyHarvestFailed = 5151, |
71 | TypeLibLoadFailed = 5152, | 76 | TypeLibLoadFailed = 5152, |