From 50fe3d149a101b2569647689673fa01d67ff5267 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Thu, 24 Apr 2025 21:32:49 -0400 Subject: Remove deprecated Heat. Fixes https://github.com/wixtoolset/issues/issues/9039 --- src/tools/WixToolset.HeatTasks/HeatTask.cs | 52 ------------------------------ 1 file changed, 52 deletions(-) delete mode 100644 src/tools/WixToolset.HeatTasks/HeatTask.cs (limited to 'src/tools/WixToolset.HeatTasks/HeatTask.cs') 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 @@ -// 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. - -namespace WixToolset.HeatTasks -{ - using Microsoft.Build.Framework; - using WixToolset.BaseBuildTasks; - - /// - /// A base MSBuild task to run the WiX harvester. - /// Specific harvester tasks should extend this class. - /// - public abstract partial class HeatTask : BaseToolsetTask - { - public bool AutogenerateGuids { get; set; } - - public bool GenerateGuidsNow { get; set; } - - [Required] - [Output] - public ITaskItem OutputFile { get; set; } - - public bool SuppressFragments { get; set; } - - public bool SuppressUniqueIds { get; set; } - - public string[] Transforms { get; set; } - - /// - /// Gets the name of the heat operation performed by the task. - /// - /// This is the first parameter passed on the heat.exe command-line. - /// The name of the heat operation performed by the task. - protected abstract string OperationName { get; } - - protected sealed override string ToolName => "heat.exe"; - - /// - /// Builds a command line from options in this task. - /// - protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder) - { - base.BuildCommandLine(commandLineBuilder); - - commandLineBuilder.AppendIfTrue("-ag", this.AutogenerateGuids); - commandLineBuilder.AppendIfTrue("-gg", this.GenerateGuidsNow); - commandLineBuilder.AppendIfTrue("-sfrag", this.SuppressFragments); - commandLineBuilder.AppendIfTrue("-suid", this.SuppressUniqueIds); - commandLineBuilder.AppendArrayIfNotNull("-t ", this.Transforms); - commandLineBuilder.AppendSwitchIfNotNull("-out ", this.OutputFile); - } - } -} -- cgit v1.2.3-55-g6feb