aboutsummaryrefslogtreecommitdiff
path: root/src/tools/WixToolset.HeatTasks/HeatProject.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-07-26 17:20:39 -0700
committerRob Mensching <rob@firegiant.com>2022-08-01 20:25:19 -0700
commita627ca9b720047e633a8fe72003ab9bee31006c5 (patch)
tree2bc8a924bb4141ab718e74d08f6459a0ffe8d573 /src/tools/WixToolset.HeatTasks/HeatProject.cs
parent521eb3c9cf38823a2c4019abb85dc0b3200b92cb (diff)
downloadwix-a627ca9b720047e633a8fe72003ab9bee31006c5.tar.gz
wix-a627ca9b720047e633a8fe72003ab9bee31006c5.tar.bz2
wix-a627ca9b720047e633a8fe72003ab9bee31006c5.zip
Create WixToolset.Heat.nupkg to distribute heat.exe and Heat targets
Moves Heat functionality to the "tools" layer and packages it all up in WixToolset.Heat.nupkg for distribution in WiX v4. Completes 6838
Diffstat (limited to '')
-rw-r--r--src/tools/WixToolset.HeatTasks/HeatProject.cs (renamed from src/wix/WixToolset.BuildTasks/HeatProject.cs)56
1 files changed, 9 insertions, 47 deletions
diff --git a/src/wix/WixToolset.BuildTasks/HeatProject.cs b/src/tools/WixToolset.HeatTasks/HeatProject.cs
index 3833a754..d54f6ad1 100644
--- a/src/wix/WixToolset.BuildTasks/HeatProject.cs
+++ b/src/tools/WixToolset.HeatTasks/HeatProject.cs
@@ -1,64 +1,29 @@
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. 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 2
3namespace WixToolset.BuildTasks 3namespace WixToolset.HeatTasks
4{ 4{
5 using Microsoft.Build.Framework; 5 using Microsoft.Build.Framework;
6 6
7 public sealed class HeatProject : HeatTask 7 public sealed class HeatProject : HeatTask
8 { 8 {
9 private string configuration;
10 private string directoryIds;
11 private string generateType;
12 private bool generateWixVariables;
13 private string platform;
14 private string project;
15 private string projectName;
16 private string[] projectOutputGroups; 9 private string[] projectOutputGroups;
17 10
18 public string Configuration 11 public string Configuration { get; set; }
19 {
20 get { return this.configuration; }
21 set { this.configuration = value; }
22 }
23 12
24 public string DirectoryIds 13 public string DirectoryIds { get; set; }
25 {
26 get { return this.directoryIds; }
27 set { this.directoryIds = value; }
28 }
29 14
30 public bool GenerateWixVariables 15 public bool GenerateWixVariables { get; set; }
31 {
32 get { return this.generateWixVariables; }
33 set { this.generateWixVariables = value; }
34 }
35 16
36 public string GenerateType 17 public string GenerateType { get; set; }
37 {
38 get { return this.generateType; }
39 set { this.generateType = value; }
40 }
41 18
42 public string MsbuildBinPath { get; set; } 19 public string MsbuildBinPath { get; set; }
43 20
44 public string Platform 21 public string Platform { get; set; }
45 {
46 get { return this.platform; }
47 set { this.platform = value; }
48 }
49 22
50 [Required] 23 [Required]
51 public string Project 24 public string Project { get; set; }
52 {
53 get { return this.project; }
54 set { this.project = value; }
55 }
56 25
57 public string ProjectName 26 public string ProjectName { get; set; }
58 {
59 get { return this.projectName; }
60 set { this.projectName = value; }
61 }
62 27
63 public string[] ProjectOutputGroups 28 public string[] ProjectOutputGroups
64 { 29 {
@@ -81,10 +46,7 @@ namespace WixToolset.BuildTasks
81 46
82 public bool UseToolsVersion { get; set; } 47 public bool UseToolsVersion { get; set; }
83 48
84 protected override string OperationName 49 protected override string OperationName => "project";
85 {
86 get { return "project"; }
87 }
88 50
89 protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder) 51 protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilder)
90 { 52 {