aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-10-20 01:00:05 -0700
committerRob Mensching <rob@firegiant.com>2019-10-20 01:06:43 -0700
commitcef6ac5735e9cf47fb51746f136d6703f2d45de6 (patch)
tree71726a5acb05914212eeee7b2cad36de71f91419 /src
parentc8c22de1957f8eeb2c9fc03df12db6af41613ca9 (diff)
downloadwix-cef6ac5735e9cf47fb51746f136d6703f2d45de6.tar.gz
wix-cef6ac5735e9cf47fb51746f136d6703f2d45de6.tar.bz2
wix-cef6ac5735e9cf47fb51746f136d6703f2d45de6.zip
Better support all .NETs and fix-up integration tests
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj10
-rw-r--r--src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec3
-rw-r--r--src/WixToolset.MSBuild/WixToolset.MSBuild.props2
-rw-r--r--src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj2
-rw-r--r--src/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj3
-rw-r--r--src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj6
-rw-r--r--src/wix/wix.csproj2
-rw-r--r--src/wixcop/WixCop.csproj2
8 files changed, 15 insertions, 15 deletions
diff --git a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
index c5b609c6..f8983121 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 <TargetFrameworks>net461;netcoreapp2.1</TargetFrameworks> 6 <TargetFrameworks>netstandard2.0;net461;net472</TargetFrameworks>
7 <Description></Description> 7 <Description></Description>
8 <Title>WiX Toolset MSBuild Tasks</Title> 8 <Title>WiX Toolset MSBuild Tasks</Title>
9 <DebugType>embedded</DebugType> 9 <DebugType>embedded</DebugType>
@@ -14,10 +14,6 @@
14 <NoWarn>NU1701</NoWarn> 14 <NoWarn>NU1701</NoWarn>
15 </PropertyGroup> 15 </PropertyGroup>
16 16
17 <PropertyGroup>
18 <!-- <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> -->
19 </PropertyGroup>
20
21 <ItemGroup> 17 <ItemGroup>
22 <Content Include="redirects\wix.targets" CopyToOutputDirectory="PreserveNewest" /> 18 <Content Include="redirects\wix.targets" CopyToOutputDirectory="PreserveNewest" />
23 <Content Include="redirects\wix.ca.targets" CopyToOutputDirectory="PreserveNewest" /> 19 <Content Include="redirects\wix.ca.targets" CopyToOutputDirectory="PreserveNewest" />
@@ -38,8 +34,8 @@
38 </ItemGroup> 34 </ItemGroup>
39 35
40 <ItemGroup> 36 <ItemGroup>
41 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" Condition="'$(TargetFramework)'=='net461' " /> 37 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" Condition="'$(TargetFramework)'=='net461' or '$(TargetFramework)'=='net472'" />
42 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.7.179" Condition="'$(TargetFramework)'=='netcoreapp2.1' " /> 38 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.7.179" Condition="'$(TargetFramework)'=='netstandard2.0' " />
43 </ItemGroup> 39 </ItemGroup>
44 40
45 <ItemGroup> 41 <ItemGroup>
diff --git a/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec b/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec
index 6bca928a..c49efff0 100644
--- a/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec
+++ b/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec
@@ -13,7 +13,6 @@
13 <files> 13 <files>
14 <file src="$projectFolder$$id$.props" target="build" /> 14 <file src="$projectFolder$$id$.props" target="build" />
15 <file src="net461\*" target="tools\net461" /> 15 <file src="net461\*" target="tools\net461" />
16 <file src="netcoreapp2.1\*" target="tools\netcoreapp2.1" /> 16 <file src="netstandard2.0\*" target="tools\netstandard2.0" />
17 <file src="netcoreapp2.1\runtimes\**" target="tools\netcoreapp2.1\runtimes" />
18 </files> 17 </files>
19</package> 18</package>
diff --git a/src/WixToolset.MSBuild/WixToolset.MSBuild.props b/src/WixToolset.MSBuild/WixToolset.MSBuild.props
index b1d207f4..b0b7e7e3 100644
--- a/src/WixToolset.MSBuild/WixToolset.MSBuild.props
+++ b/src/WixToolset.MSBuild/WixToolset.MSBuild.props
@@ -3,7 +3,7 @@
3 3
4<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">
5 <PropertyGroup> 5 <PropertyGroup>
6 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' and '$(MSBuildRuntimeType)' == 'Core' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\netcoreapp2.1\wix.targets'))</WixTargetsPath> 6 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' and '$(MSBuildRuntimeType)' == 'Core' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\netstandard2.0\wix.targets'))</WixTargetsPath>
7 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\net461\wix.targets'))</WixTargetsPath> 7 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\net461\wix.targets'))</WixTargetsPath>
8 </PropertyGroup> 8 </PropertyGroup>
9</Project> 9</Project>
diff --git a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj
index 0f67db73..04869f00 100644
--- a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj
+++ b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.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>netstandard2.0</TargetFramework> 6 <TargetFrameworks>netstandard2.0;net461;net472</TargetFrameworks>
7 <Description>Tools Core</Description> 7 <Description>Tools Core</Description>
8 <Title>WiX Toolset Tools Core</Title> 8 <Title>WiX Toolset Tools Core</Title>
9 <DebugType>embedded</DebugType> 9 <DebugType>embedded</DebugType>
diff --git a/src/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj b/src/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj
index c5498de4..eba81c0c 100644
--- a/src/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj
+++ b/src/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj
@@ -21,7 +21,8 @@
21 </ItemGroup> 21 </ItemGroup>
22 22
23 <ItemGroup> 23 <ItemGroup>
24 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" PrivateAssets="All" /> 24 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" Condition="'$(TargetFramework)'=='net461' or '$(TargetFramework)'=='net472'" />
25 <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.7.179" Condition="'$(TargetFramework)'=='netcoreapp2.1' " />
25 <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.*" /> 26 <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.*" />
26 </ItemGroup> 27 </ItemGroup>
27 28
diff --git a/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj b/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
index 45f8c57d..c58b6091 100644
--- a/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
+++ b/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
@@ -3,11 +3,15 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net461</TargetFramework> 6 <TargetFramework>netcoreapp2.1</TargetFramework>
7 <IsPackable>false</IsPackable> 7 <IsPackable>false</IsPackable>
8 <DebugType>embedded</DebugType> 8 <DebugType>embedded</DebugType>
9 </PropertyGroup> 9 </PropertyGroup>
10 10
11 <PropertyGroup>
12 <NoWarn>NU1603</NoWarn>
13 </PropertyGroup>
14
11 <ItemGroup> 15 <ItemGroup>
12 <None Remove="TestData\SingleFile\ConvertedSingleFile.wxs" /> 16 <None Remove="TestData\SingleFile\ConvertedSingleFile.wxs" />
13 <None Remove="TestData\SingleFile\SingleFile.wxs" /> 17 <None Remove="TestData\SingleFile\SingleFile.wxs" />
diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj
index 1f2c61e0..ea820230 100644
--- a/src/wix/wix.csproj
+++ b/src/wix/wix.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>net461;netcoreapp2.1</TargetFrameworks> 6 <TargetFrameworks>netcoreapp2.1;net461;net472</TargetFrameworks>
7 <OutputType>Exe</OutputType> 7 <OutputType>Exe</OutputType>
8 <Description>Compiler</Description> 8 <Description>Compiler</Description>
9 <Title>WiX Toolset Compiler</Title> 9 <Title>WiX Toolset Compiler</Title>
diff --git a/src/wixcop/WixCop.csproj b/src/wixcop/WixCop.csproj
index 4c0d9a16..858d3b52 100644
--- a/src/wixcop/WixCop.csproj
+++ b/src/wixcop/WixCop.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>net461;netcoreapp2.1</TargetFrameworks> 6 <TargetFrameworks>netcoreapp2.1;net461;net472</TargetFrameworks>
7 <OutputType>Exe</OutputType> 7 <OutputType>Exe</OutputType>
8 <Description>Converter</Description> 8 <Description>Converter</Description>
9 <Title>WiX Error Correction Tool</Title> 9 <Title>WiX Error Correction Tool</Title>