aboutsummaryrefslogtreecommitdiff
path: root/src/tools/WixToolset.HeatTasks/HeatFile.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/HeatFile.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/HeatFile.cs')
-rw-r--r--src/tools/WixToolset.HeatTasks/HeatFile.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/tools/WixToolset.HeatTasks/HeatFile.cs b/src/tools/WixToolset.HeatTasks/HeatFile.cs
deleted file mode 100644
index b39de7da..00000000
--- a/src/tools/WixToolset.HeatTasks/HeatFile.cs
+++ /dev/null
@@ -1,45 +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 public sealed class HeatFile : HeatTask
9 {
10 public string ComponentGroupName { get; set; }
11
12 public string DirectoryRefId { get; set; }
13
14 [Required]
15 public string File { get; set; }
16
17 public string PreprocessorVariable { get; set; }
18
19 public bool SuppressCom { get; set; }
20
21 public bool SuppressRegistry { get; set; }
22
23 public bool SuppressRootDirectory { get; set; }
24
25 public string Template { get; set; }
26
27 protected override string OperationName => "file";
28
29 protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder)
30 {
31 commandLineBuilder.AppendSwitch(this.OperationName);
32 commandLineBuilder.AppendFileNameIfNotNull(this.File);
33
34 commandLineBuilder.AppendSwitchIfNotNull("-cg ", this.ComponentGroupName);
35 commandLineBuilder.AppendSwitchIfNotNull("-dr ", this.DirectoryRefId);
36 commandLineBuilder.AppendIfTrue("-scom", this.SuppressCom);
37 commandLineBuilder.AppendIfTrue("-srd", this.SuppressRootDirectory);
38 commandLineBuilder.AppendIfTrue("-sreg", this.SuppressRegistry);
39 commandLineBuilder.AppendSwitchIfNotNull("-template ", this.Template);
40 commandLineBuilder.AppendSwitchIfNotNull("-var ", this.PreprocessorVariable);
41
42 base.BuildCommandLine(commandLineBuilder);
43 }
44 }
45}