summaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.BuildTasks/ToolsetTask.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.BuildTasks/ToolsetTask.cs')
-rw-r--r--src/wix/WixToolset.BuildTasks/ToolsetTask.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wix/WixToolset.BuildTasks/ToolsetTask.cs b/src/wix/WixToolset.BuildTasks/ToolsetTask.cs
index d48f2a20..05095fb8 100644
--- a/src/wix/WixToolset.BuildTasks/ToolsetTask.cs
+++ b/src/wix/WixToolset.BuildTasks/ToolsetTask.cs
@@ -9,7 +9,11 @@ namespace WixToolset.BuildTasks
9 9
10 public abstract partial class ToolsetTask : ToolTask 10 public abstract partial class ToolsetTask : ToolTask
11 { 11 {
12#if NETFRAMEWORK
12 private static readonly string ThisDllPath = new Uri(typeof(ToolsetTask).Assembly.CodeBase).AbsolutePath; 13 private static readonly string ThisDllPath = new Uri(typeof(ToolsetTask).Assembly.CodeBase).AbsolutePath;
14#else
15 private static readonly string ThisDllPath = typeof(ToolsetTask).Assembly.Location;
16#endif
13 17
14 /// <summary> 18 /// <summary>
15 /// Gets or sets additional options that are appended the the tool command-line. 19 /// Gets or sets additional options that are appended the the tool command-line.