diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-05-10 13:49:09 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-05-10 14:20:58 +1000 |
| commit | a5f59cb11a6372a6da8540bd1bebf6dec20e92e3 (patch) | |
| tree | 95c20f7962fca750fd48d1a6118f506262659d84 | |
| parent | 00eb63b1a04fd455699b3d0ae5039c4092cf3aa7 (diff) | |
| download | wix-a5f59cb11a6372a6da8540bd1bebf6dec20e92e3.tar.gz wix-a5f59cb11a6372a6da8540bd1bebf6dec20e92e3.tar.bz2 wix-a5f59cb11a6372a6da8540bd1bebf6dec20e92e3.zip | |
Remove x86 restriction (introduced from previous commit) from published contents.
Remove unused net472 BuildTasks.
Make BuildTasks target netcoreapp instead of netstandard since publishing isn't supported for netstandard.
| -rw-r--r-- | appveyor.cmd | 3 | ||||
| -rw-r--r-- | src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj | 9 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/WixToolset.MSBuild.csproj | 2 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec | 3 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/WixToolset.MSBuild.props | 2 | ||||
| -rw-r--r-- | src/dotnet-wix/dotnet-wix.csproj | 3 | ||||
| -rw-r--r-- | src/wix/wix.csproj | 3 | ||||
| -rw-r--r-- | src/wixcop/WixCop.csproj | 3 |
8 files changed, 14 insertions, 14 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 9335ca5a..d0dcee83 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
| @@ -9,8 +9,7 @@ dotnet test -c Release src\test\WixToolsetTest.WixCop | |||
| 9 | 9 | ||
| 10 | dotnet publish -c Release -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix | 10 | dotnet publish -c Release -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix |
| 11 | dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net461\ -f net461 src\WixToolset.BuildTasks | 11 | dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net461\ -f net461 src\WixToolset.BuildTasks |
| 12 | dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net472\ -f net472 src\WixToolset.BuildTasks | 12 | dotnet publish -c Release -o %_P%\WixToolset.MSBuild\netcoreapp2.1\ -f netcoreapp2.1 src\WixToolset.BuildTasks |
| 13 | dotnet publish -c Release -o %_P%\WixToolset.MSBuild\netstandard2.0\ -f netstandard2.0 src\WixToolset.BuildTasks | ||
| 14 | 13 | ||
| 15 | @rem dotnet publish -c Release -o %_P%\netcoreapp2.1 -r win-x86 src\wix | 14 | @rem dotnet publish -c Release -o %_P%\netcoreapp2.1 -r win-x86 src\wix |
| 16 | @rem dotnet publish -c Release -o %_P%\net461 -r win-x86 src\light | 15 | @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 cfa0b1d8..8724f2fc 100644 --- a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj +++ b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj | |||
| @@ -3,12 +3,13 @@ | |||
| 3 | 3 | ||
| 4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
| 5 | <PropertyGroup> | 5 | <PropertyGroup> |
| 6 | <TargetFrameworks>netstandard2.0;net461;net472</TargetFrameworks> | 6 | <TargetFrameworks>netcoreapp2.1;net461</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> |
| 10 | <PublishRepositoryUrl>true</PublishRepositoryUrl> | 10 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 11 | <RuntimeIdentifier>win-x86</RuntimeIdentifier> | 11 | <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier> |
| 12 | <PlatformTarget>AnyCPU</PlatformTarget> | ||
| 12 | </PropertyGroup> | 13 | </PropertyGroup> |
| 13 | 14 | ||
| 14 | <PropertyGroup> | 15 | <PropertyGroup> |
| @@ -36,8 +37,8 @@ | |||
| 36 | </ItemGroup> | 37 | </ItemGroup> |
| 37 | 38 | ||
| 38 | <ItemGroup> | 39 | <ItemGroup> |
| 39 | <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" Condition="'$(TargetFramework)'=='net461' or '$(TargetFramework)'=='net472'" /> | 40 | <PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" Condition="'$(TargetFramework)'=='net461'" /> |
| 40 | <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.7.179" Condition="'$(TargetFramework)'=='netstandard2.0' " /> | 41 | <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.7.179" Condition="'$(TargetFramework)'=='netcoreapp2.1' " /> |
| 41 | </ItemGroup> | 42 | </ItemGroup> |
| 42 | 43 | ||
| 43 | <ItemGroup> | 44 | <ItemGroup> |
diff --git a/src/WixToolset.MSBuild/WixToolset.MSBuild.csproj b/src/WixToolset.MSBuild/WixToolset.MSBuild.csproj index 76e42911..5a9633ae 100644 --- a/src/WixToolset.MSBuild/WixToolset.MSBuild.csproj +++ b/src/WixToolset.MSBuild/WixToolset.MSBuild.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 | <TargetFramework>netcoreapp2.1</TargetFramework> |
| 7 | <IncludeBuildOutput>false</IncludeBuildOutput> | 7 | <IncludeBuildOutput>false</IncludeBuildOutput> |
| 8 | <Description>WiX Toolset MSBuild integration</Description> | 8 | <Description>WiX Toolset MSBuild integration</Description> |
| 9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | 9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> |
diff --git a/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec b/src/WixToolset.MSBuild/WixToolset.MSBuild.nuspec index ba16aa92..c9e5cdf2 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="net472\*" target="tools\net472" /> | 16 | <file src="netcoreapp2.1\*" target="tools\netcoreapp2.1" /> |
| 17 | <file src="netstandard2.0\*" target="tools\netstandard2.0" /> | ||
| 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 b0b7e7e3..b1d207f4 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\netstandard2.0\wix.targets'))</WixTargetsPath> | 6 | <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' and '$(MSBuildRuntimeType)' == 'Core' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\netcoreapp2.1\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/dotnet-wix/dotnet-wix.csproj b/src/dotnet-wix/dotnet-wix.csproj index a9c766a3..88010875 100644 --- a/src/dotnet-wix/dotnet-wix.csproj +++ b/src/dotnet-wix/dotnet-wix.csproj | |||
| @@ -3,13 +3,12 @@ | |||
| 3 | 3 | ||
| 4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
| 5 | <PropertyGroup> | 5 | <PropertyGroup> |
| 6 | <TargetFramework>netstandard2.0</TargetFramework> | 6 | <TargetFramework>netcoreapp2.1</TargetFramework> |
| 7 | <IncludeBuildOutput>false</IncludeBuildOutput> | 7 | <IncludeBuildOutput>false</IncludeBuildOutput> |
| 8 | <Description>WiX Toolset Command-line interface</Description> | 8 | <Description>WiX Toolset Command-line interface</Description> |
| 9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | 9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> |
| 10 | <NuspecBasePath>$(OutputPath)publish\dotnet-wix\</NuspecBasePath> | 10 | <NuspecBasePath>$(OutputPath)publish\dotnet-wix\</NuspecBasePath> |
| 11 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties> | 11 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties> |
| 12 | <RuntimeIdentifier>win-x86</RuntimeIdentifier> | ||
| 13 | </PropertyGroup> | 12 | </PropertyGroup> |
| 14 | 13 | ||
| 15 | <ItemGroup> | 14 | <ItemGroup> |
diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj index c74cf006..ef007849 100644 --- a/src/wix/wix.csproj +++ b/src/wix/wix.csproj | |||
| @@ -10,7 +10,8 @@ | |||
| 10 | <DebugType>embedded</DebugType> | 10 | <DebugType>embedded</DebugType> |
| 11 | <PublishRepositoryUrl>true</PublishRepositoryUrl> | 11 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 12 | <!-- <PackAsTool>true</PackAsTool> --> | 12 | <!-- <PackAsTool>true</PackAsTool> --> |
| 13 | <RuntimeIdentifier>win-x86</RuntimeIdentifier> | 13 | <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier> |
| 14 | <PlatformTarget>AnyCPU</PlatformTarget> | ||
| 14 | </PropertyGroup> | 15 | </PropertyGroup> |
| 15 | 16 | ||
| 16 | <PropertyGroup> | 17 | <PropertyGroup> |
diff --git a/src/wixcop/WixCop.csproj b/src/wixcop/WixCop.csproj index 7021d9d7..8b3acf44 100644 --- a/src/wixcop/WixCop.csproj +++ b/src/wixcop/WixCop.csproj | |||
| @@ -10,7 +10,8 @@ | |||
| 10 | <DebugType>embedded</DebugType> | 10 | <DebugType>embedded</DebugType> |
| 11 | <PublishRepositoryUrl>true</PublishRepositoryUrl> | 11 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 12 | <!-- <PackAsTool>true</PackAsTool> --> | 12 | <!-- <PackAsTool>true</PackAsTool> --> |
| 13 | <RuntimeIdentifier>win-x86</RuntimeIdentifier> | 13 | <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier> |
| 14 | <PlatformTarget>AnyCPU</PlatformTarget> | ||
| 14 | </PropertyGroup> | 15 | </PropertyGroup> |
| 15 | 16 | ||
| 16 | <PropertyGroup> | 17 | <PropertyGroup> |
