diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/WixToolset.HeatTasks/HeatFile.cs | 45 |
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 | |||
3 | namespace 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 | } | ||