aboutsummaryrefslogtreecommitdiff
path: root/src/tools/WixToolset.HeatTasks/HeatTask.cs
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2025-04-24 21:32:49 -0400
committerBob Arnson <bob@firegiant.com>2025-06-12 08:54:41 -0400
commit3abf00a71151d1caef6e853a2f330d7691f4abf8 (patch)
tree0e6145c8038905aec81ecccaea4c6968cf73d392 /src/tools/WixToolset.HeatTasks/HeatTask.cs
parent796fed6b2623ec29b126238d97becfef71badfbc (diff)
downloadwix-bob/HeatCremation.tar.gz
wix-bob/HeatCremation.tar.bz2
wix-bob/HeatCremation.zip
Remove deprecated Heat.bob/HeatCremation
Fixes https://github.com/wixtoolset/issues/issues/9039
Diffstat (limited to 'src/tools/WixToolset.HeatTasks/HeatTask.cs')
-rw-r--r--src/tools/WixToolset.HeatTasks/HeatTask.cs52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/tools/WixToolset.HeatTasks/HeatTask.cs b/src/tools/WixToolset.HeatTasks/HeatTask.cs
deleted file mode 100644
index cad6635b..00000000
--- a/src/tools/WixToolset.HeatTasks/HeatTask.cs
+++ /dev/null
@@ -1,52 +0,0 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.HeatTasks
4{
5 using Microsoft.Build.Framework;
6 using WixToolset.BaseBuildTasks;
7
8 /// <summary>
9 /// A base MSBuild task to run the WiX harvester.
10 /// Specific harvester tasks should extend this class.
11 /// </summary>
12 public abstract partial class HeatTask : BaseToolsetTask
13 {
14 public bool AutogenerateGuids { get; set; }
15
16 public bool GenerateGuidsNow { get; set; }
17
18 [Required]
19 [Output]
20 public ITaskItem OutputFile { get; set; }
21
22 public bool SuppressFragments { get; set; }
23
24 public bool SuppressUniqueIds { get; set; }
25
26 public string[] Transforms { get; set; }
27
28 /// <summary>
29 /// Gets the name of the heat operation performed by the task.
30 /// </summary>
31 /// <remarks>This is the first parameter passed on the heat.exe command-line.</remarks>
32 /// <value>The name of the heat operation performed by the task.</value>
33 protected abstract string OperationName { get; }
34
35 protected sealed override string ToolName => "heat.exe";
36
37 /// <summary>
38 /// Builds a command line from options in this task.
39 /// </summary>
40 protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder)
41 {
42 base.BuildCommandLine(commandLineBuilder);
43
44 commandLineBuilder.AppendIfTrue("-ag", this.AutogenerateGuids);
45 commandLineBuilder.AppendIfTrue("-gg", this.GenerateGuidsNow);
46 commandLineBuilder.AppendIfTrue("-sfrag", this.SuppressFragments);
47 commandLineBuilder.AppendIfTrue("-suid", this.SuppressUniqueIds);
48 commandLineBuilder.AppendArrayIfNotNull("-t ", this.Transforms);
49 commandLineBuilder.AppendSwitchIfNotNull("-out ", this.OutputFile);
50 }
51 }
52}