diff options
author | Rob Mensching <rob@firegiant.com> | 2022-10-01 02:38:00 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-10-03 12:29:27 -0700 |
commit | 464575def4341d65bc3fa72298798755cdee527e (patch) | |
tree | 815adc229c92756260dcd65782102511359bf50f /src/tools/WixToolset.HeatTasks | |
parent | ed6593322d34ff0e655be9347f340d0cc96c0784 (diff) | |
download | wix-464575def4341d65bc3fa72298798755cdee527e.tar.gz wix-464575def4341d65bc3fa72298798755cdee527e.tar.bz2 wix-464575def4341d65bc3fa72298798755cdee527e.zip |
Standardize on .NET 6 as the minimum for .NET Core platform.
Closes 6942
Diffstat (limited to 'src/tools/WixToolset.HeatTasks')
-rw-r--r-- | src/tools/WixToolset.HeatTasks/HeatTask.cs | 5 | ||||
-rw-r--r-- | src/tools/WixToolset.HeatTasks/WixToolset.HeatTasks.csproj | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/WixToolset.HeatTasks/HeatTask.cs b/src/tools/WixToolset.HeatTasks/HeatTask.cs index 8942a7e1..6b7b9399 100644 --- a/src/tools/WixToolset.HeatTasks/HeatTask.cs +++ b/src/tools/WixToolset.HeatTasks/HeatTask.cs | |||
@@ -14,7 +14,12 @@ namespace WixToolset.HeatTasks | |||
14 | /// </summary> | 14 | /// </summary> |
15 | public abstract partial class HeatTask : ToolTask | 15 | public abstract partial class HeatTask : ToolTask |
16 | { | 16 | { |
17 | #if NETFRAMEWORK | ||
17 | private static readonly string ThisDllPath = new Uri(typeof(HeatTask).Assembly.CodeBase).AbsolutePath; | 18 | private static readonly string ThisDllPath = new Uri(typeof(HeatTask).Assembly.CodeBase).AbsolutePath; |
19 | #else | ||
20 | private static readonly string ThisDllPath = typeof(HeatTask).Assembly.Location; | ||
21 | #endif | ||
22 | |||
18 | 23 | ||
19 | /// <summary> | 24 | /// <summary> |
20 | /// Gets or sets additional options that are appended the the tool command-line. | 25 | /// Gets or sets additional options that are appended the the tool command-line. |
diff --git a/src/tools/WixToolset.HeatTasks/WixToolset.HeatTasks.csproj b/src/tools/WixToolset.HeatTasks/WixToolset.HeatTasks.csproj index ea52bdfa..ddc75c69 100644 --- a/src/tools/WixToolset.HeatTasks/WixToolset.HeatTasks.csproj +++ b/src/tools/WixToolset.HeatTasks/WixToolset.HeatTasks.csproj | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
5 | <PropertyGroup> | 5 | <PropertyGroup> |
6 | <TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks> | 6 | <TargetFrameworks>net6.0;net472</TargetFrameworks> |
7 | <Title>WiX Toolset Heat MSBuild Tasks</Title> | 7 | <Title>WiX Toolset Heat MSBuild Tasks</Title> |
8 | <DebugType>embedded</DebugType> | 8 | <DebugType>embedded</DebugType> |
9 | <PublishRepositoryUrl>true</PublishRepositoryUrl> | 9 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |