diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-04-24 21:32:49 -0400 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2025-06-18 16:15:49 -0400 |
| commit | 50fe3d149a101b2569647689673fa01d67ff5267 (patch) | |
| tree | 418fc10800ee23318d3ce7820aee1465b49c1db0 /src/tools/WixToolset.HeatTasks/HeatFile.cs | |
| parent | 390ee54c29d050ba393ff431115308bdb2aaf4ca (diff) | |
| download | wix-50fe3d149a101b2569647689673fa01d67ff5267.tar.gz wix-50fe3d149a101b2569647689673fa01d67ff5267.tar.bz2 wix-50fe3d149a101b2569647689673fa01d67ff5267.zip | |
Remove deprecated Heat.
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.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 | } | ||
