diff options
author | Bob Arnson <bob@firegiant.com> | 2025-01-22 22:45:45 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2025-01-23 08:44:13 -0500 |
commit | 63223d5c023846ab7b4cef222326c913d2e0521f (patch) | |
tree | ed96fabf5095f6892df61c50129a22f44fa9d2f3 /src/tools/heat/Program.cs | |
parent | 7288b0b76f8b902510631fa70ae2b8b962dbf589 (diff) | |
download | wix-63223d5c023846ab7b4cef222326c913d2e0521f.tar.gz wix-63223d5c023846ab7b4cef222326c913d2e0521f.tar.bz2 wix-63223d5c023846ab7b4cef222326c913d2e0521f.zip |
Emit deprecation warning for Heat.
Fixes https://github.com/wixtoolset/issues/issues/8913
Diffstat (limited to 'src/tools/heat/Program.cs')
-rw-r--r-- | src/tools/heat/Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/heat/Program.cs b/src/tools/heat/Program.cs index f74def8f..80423e18 100644 --- a/src/tools/heat/Program.cs +++ b/src/tools/heat/Program.cs | |||
@@ -12,6 +12,7 @@ namespace WixToolset.Tools.Heat | |||
12 | using WixToolset.Extensibility.Data; | 12 | using WixToolset.Extensibility.Data; |
13 | using WixToolset.Extensibility.Services; | 13 | using WixToolset.Extensibility.Services; |
14 | using WixToolset.Harvesters; | 14 | using WixToolset.Harvesters; |
15 | using WixToolset.Harvesters.Data; | ||
15 | using WixToolset.Harvesters.Extensibility; | 16 | using WixToolset.Harvesters.Extensibility; |
16 | using WixToolset.Tools.Core; | 17 | using WixToolset.Tools.Core; |
17 | 18 | ||
@@ -78,6 +79,9 @@ namespace WixToolset.Tools.Heat | |||
78 | 79 | ||
79 | var commandLine = HeatCommandLineFactory.CreateCommandLine(serviceProvider, heatExtensions); | 80 | var commandLine = HeatCommandLineFactory.CreateCommandLine(serviceProvider, heatExtensions); |
80 | var command = commandLine.ParseStandardCommandLine(arguments); | 81 | var command = commandLine.ParseStandardCommandLine(arguments); |
82 | |||
83 | messaging.Write(HarvesterWarnings.HeatIsDeprecated()); | ||
84 | |||
81 | return command?.ExecuteAsync(CancellationToken.None) ?? Task.FromResult(1); | 85 | return command?.ExecuteAsync(CancellationToken.None) ?? Task.FromResult(1); |
82 | } | 86 | } |
83 | } | 87 | } |