diff options
author | Rob Mensching <rob@firegiant.com> | 2017-12-29 04:09:35 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-12-29 04:09:35 -0800 |
commit | 5524dd89431695bf9d710e694ec49401d3cecfde (patch) | |
tree | f08a91dceac7e05fbb0aa9b360fc6ff72738f82c | |
parent | 6e6771e80225c1697ea418ad99d95be8dac61102 (diff) | |
download | wix-5524dd89431695bf9d710e694ec49401d3cecfde.tar.gz wix-5524dd89431695bf9d710e694ec49401d3cecfde.tar.bz2 wix-5524dd89431695bf9d710e694ec49401d3cecfde.zip |
Store different framework target separately
4 files changed, 12 insertions, 11 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 42465be8..2bd0bbbb 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -6,9 +6,9 @@ dotnet build -c Release src\test\WixToolsetTest.BuildTasks | |||
6 | dotnet build -c Release src\test\WixToolsetTest.CoreIntegration | 6 | dotnet build -c Release src\test\WixToolsetTest.CoreIntegration |
7 | dotnet build -c Release src\test\WixToolsetTest.LightIntegration | 7 | dotnet build -c Release src\test\WixToolsetTest.LightIntegration |
8 | 8 | ||
9 | dotnet publish -c Release -o %_P% -r win-x86 src\wix | 9 | dotnet publish -c Release -o %_P%\netcoreapp2.0 -r win-x86 src\wix |
10 | dotnet publish -c Release -o %_P% -r win-x86 src\light | 10 | dotnet publish -c Release -o %_P%\net461 -r win-x86 src\light |
11 | dotnet publish -c Release -o %_P% -r win-x86 src\WixToolset.BuildTasks | 11 | dotnet publish -c Release -o %_P%\net461 -r win-x86 src\WixToolset.BuildTasks |
12 | 12 | ||
13 | dotnet pack -c Release src\WixToolset.Core.InternalPackage | 13 | dotnet pack -c Release src\WixToolset.Core.InternalPackage |
14 | 14 | ||
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj index 687e8955..bc830163 100644 --- a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | |||
@@ -15,9 +15,11 @@ | |||
15 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> | 15 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | 17 | ||
18 | <Target Name="SetNuspecVersion" | 18 | <PropertyGroup> |
19 | AfterTargets="GetBuildVersion"> | 19 | <GenerateNuspecDependsOn>$(GenerateNuspecDependsOn);SetNuspecVersion</GenerateNuspecDependsOn> |
20 | <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: $(NuspecBasePath). Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " /> | 20 | </PropertyGroup> |
21 | <Target Name="SetNuspecVersion"> | ||
22 | <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: '$(NuspecBasePath)'. Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " /> | ||
21 | 23 | ||
22 | <PropertyGroup> | 24 | <PropertyGroup> |
23 | <NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | 25 | <NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> |
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec index 5b81d615..00b01683 100644 --- a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec | |||
@@ -13,9 +13,8 @@ | |||
13 | <files> | 13 | <files> |
14 | <file src="$projectFolder$$id$.props" target="build" /> | 14 | <file src="$projectFolder$$id$.props" target="build" /> |
15 | 15 | ||
16 | <file src="redirects\wix.targets" target="msbuild" /> | 16 | <file src="netcoreapp2.0\*" target="tools\netcoreapp2.0" /> |
17 | <file src="redirects\wix.ca.targets" target="msbuild" /> | 17 | <file src="net461\*" target="tools\net461" /> |
18 | 18 | <file src="net461\redirects\*" target="msbuild" /> | |
19 | <file src="*" target="tools" /> | ||
20 | </files> | 19 | </files> |
21 | </package> | 20 | </package> |
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.props b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.props index 24aab72e..8d71aa66 100644 --- a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.props +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.props | |||
@@ -3,6 +3,6 @@ | |||
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)' == '' ">$(MSBuildThisFileDirectory)..\tools\wix.targets</WixTargetsPath> | 6 | <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildThisFileDirectory)..\tools\net461\wix.targets</WixTargetsPath> |
7 | </PropertyGroup> | 7 | </PropertyGroup> |
8 | </Project> | 8 | </Project> |