From cef6ac5735e9cf47fb51746f136d6703f2d45de6 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 20 Oct 2019 01:00:05 -0700 Subject: Better support all .NETs and fix-up integration tests --- appveyor.cmd | 6 +++--- src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj | 10 +++------- src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec | 3 +-- src/WixToolset.MSBuild/WixToolset.MSBuild.props | 2 +- src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj | 2 +- .../WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj | 3 ++- src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj | 6 +++++- src/wix/wix.csproj | 2 +- src/wixcop/WixCop.csproj | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/appveyor.cmd b/appveyor.cmd index a41f8c19..5d738995 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -4,12 +4,12 @@ nuget restore -dotnet build -c Release src\test\WixToolsetTest.BuildTasks -dotnet build -c Release src\test\WixToolsetTest.WixCop +dotnet test -c Release src\test\WixToolsetTest.BuildTasks +dotnet test -c Release src\test\WixToolsetTest.WixCop dotnet publish -c Release -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net461\ -f net461 src\WixToolset.BuildTasks -dotnet publish -c Release -o %_P%\WixToolset.MSBuild\netcoreapp2.1\ -f netcoreapp2.1 src\WixToolset.BuildTasks +dotnet publish -c Release -o %_P%\WixToolset.MSBuild\netstandard2.0\ -f netstandard2.0 src\WixToolset.BuildTasks @rem dotnet publish -c Release -o %_P%\netcoreapp2.1 -r win-x86 src\wix @rem dotnet publish -c Release -o %_P%\net461 -r win-x86 src\light 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 @@ - net461;netcoreapp2.1 + netstandard2.0;net461;net472 WiX Toolset MSBuild Tasks embedded @@ -14,10 +14,6 @@ NU1701 - - - - @@ -38,8 +34,8 @@ - - + + 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 @@ - - + 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 @@ - $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\netcoreapp2.1\wix.targets')) + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\netstandard2.0\wix.targets')) $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\net461\wix.targets')) 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 @@ - netstandard2.0 + netstandard2.0;net461;net472 Tools Core WiX Toolset Tools Core embedded 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 @@ - + + 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 @@ - net461 + netcoreapp2.1 false embedded + + NU1603 + + 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 @@ - net461;netcoreapp2.1 + netcoreapp2.1;net461;net472 Exe Compiler WiX Toolset Compiler 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 @@ - net461;netcoreapp2.1 + netcoreapp2.1;net461;net472 Exe Converter WiX Error Correction Tool -- cgit v1.2.3-55-g6feb