aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BuildTasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.BuildTasks')
-rw-r--r--src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj9
-rw-r--r--src/WixToolset.BuildTasks/redirects/wix.ca.targets (renamed from src/WixToolset.BuildTasks/redirect.wix.ca.targets)1
-rw-r--r--src/WixToolset.BuildTasks/redirects/wix.props8
-rw-r--r--src/WixToolset.BuildTasks/redirects/wix.targets (renamed from src/WixToolset.BuildTasks/redirect.wix.targets)1
4 files changed, 13 insertions, 6 deletions
diff --git a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
index 34a1a9f5..ce65ea41 100644
--- a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
+++ b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net462</TargetFramework> 6 <TargetFramework>net461</TargetFramework>
7 <Description></Description> 7 <Description></Description>
8 <Title>WiX Toolset MSBuild Tasks</Title> 8 <Title>WiX Toolset MSBuild Tasks</Title>
9 </PropertyGroup> 9 </PropertyGroup>
@@ -14,8 +14,9 @@
14 </PropertyGroup> 14 </PropertyGroup>
15 15
16 <ItemGroup> 16 <ItemGroup>
17 <Content Include="redirect.wix.targets" CopyToOutputDirectory="PreserveNewest" /> 17 <Content Include="redirects\wix.targets" CopyToOutputDirectory="PreserveNewest" />
18 <Content Include="redirect.wix.ca.targets" CopyToOutputDirectory="PreserveNewest" /> 18 <Content Include="redirects\wix.ca.targets" CopyToOutputDirectory="PreserveNewest" />
19 <Content Include="redirects\wix.props" CopyToOutputDirectory="PreserveNewest" />
19 <Content Include="wix.targets" CopyToOutputDirectory="PreserveNewest" /> 20 <Content Include="wix.targets" CopyToOutputDirectory="PreserveNewest" />
20 <Content Include="wix.ca.targets" CopyToOutputDirectory="PreserveNewest" /> 21 <Content Include="wix.ca.targets" CopyToOutputDirectory="PreserveNewest" />
21 <Content Include="wix.harvest.targets" CopyToOutputDirectory="PreserveNewest" /> 22 <Content Include="wix.harvest.targets" CopyToOutputDirectory="PreserveNewest" />
@@ -32,7 +33,7 @@
32 33
33 <ItemGroup> 34 <ItemGroup>
34 <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> 35 <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" />
35 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" PrivateAssets="all" Condition="'$(TargetFramework)'=='net462' " /> 36 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" PrivateAssets="all" Condition="'$(TargetFramework)'=='net461' " />
36 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.3.409" PrivateAssets="all" Condition="'$(TargetFramework)'=='netstandard2.0' " /> 37 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.3.409" PrivateAssets="all" Condition="'$(TargetFramework)'=='netstandard2.0' " />
37 </ItemGroup> 38 </ItemGroup>
38</Project> 39</Project>
diff --git a/src/WixToolset.BuildTasks/redirect.wix.ca.targets b/src/WixToolset.BuildTasks/redirects/wix.ca.targets
index 74e6ec3c..ecb6e09f 100644
--- a/src/WixToolset.BuildTasks/redirect.wix.ca.targets
+++ b/src/WixToolset.BuildTasks/redirects/wix.ca.targets
@@ -1,7 +1,6 @@
1<?xml version="1.0" encoding="utf-8" ?> 1<?xml version="1.0" encoding="utf-8" ?>
2<!-- 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<!-- 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. -->
3 3
4
5<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> 4<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
6 <PropertyGroup> 5 <PropertyGroup>
7 <WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder> 6 <WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder>
diff --git a/src/WixToolset.BuildTasks/redirects/wix.props b/src/WixToolset.BuildTasks/redirects/wix.props
new file mode 100644
index 00000000..7448d192
--- /dev/null
+++ b/src/WixToolset.BuildTasks/redirects/wix.props
@@ -0,0 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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. -->
3
4<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
5 <PropertyGroup>
6 <WixTargetsPath>$(MSBuildThisFileDirectory)..\tools\wix.targets</WixTargetsPath>
7 </PropertyGroup>
8</Project>
diff --git a/src/WixToolset.BuildTasks/redirect.wix.targets b/src/WixToolset.BuildTasks/redirects/wix.targets
index b40c4c36..ba354b65 100644
--- a/src/WixToolset.BuildTasks/redirect.wix.targets
+++ b/src/WixToolset.BuildTasks/redirects/wix.targets
@@ -1,7 +1,6 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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<!-- 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. -->
3 3
4
5<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> 4<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
6 <PropertyGroup> 5 <PropertyGroup>
7 <WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder> 6 <WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder>