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/HeatFile.cs | 45 ------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 src/tools/WixToolset.HeatTasks/HeatFile.cs (limited to 'src/tools/WixToolset.HeatTasks/HeatFile.cs') 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 @@ -// 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; - - public sealed class HeatFile : HeatTask - { - public string ComponentGroupName { get; set; } - - public string DirectoryRefId { get; set; } - - [Required] - public string File { get; set; } - - public string PreprocessorVariable { get; set; } - - public bool SuppressCom { get; set; } - - public bool SuppressRegistry { get; set; } - - public bool SuppressRootDirectory { get; set; } - - public string Template { get; set; } - - protected override string OperationName => "file"; - - protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder) - { - commandLineBuilder.AppendSwitch(this.OperationName); - commandLineBuilder.AppendFileNameIfNotNull(this.File); - - commandLineBuilder.AppendSwitchIfNotNull("-cg ", this.ComponentGroupName); - commandLineBuilder.AppendSwitchIfNotNull("-dr ", this.DirectoryRefId); - commandLineBuilder.AppendIfTrue("-scom", this.SuppressCom); - commandLineBuilder.AppendIfTrue("-srd", this.SuppressRootDirectory); - commandLineBuilder.AppendIfTrue("-sreg", this.SuppressRegistry); - commandLineBuilder.AppendSwitchIfNotNull("-template ", this.Template); - commandLineBuilder.AppendSwitchIfNotNull("-var ", this.PreprocessorVariable); - - base.BuildCommandLine(commandLineBuilder); - } - } -} -- cgit v1.2.3-55-g6feb