diff options
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> |
