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 /src | |
parent | 6e6771e80225c1697ea418ad99d95be8dac61102 (diff) | |
download | wix-5524dd89431695bf9d710e694ec49401d3cecfde.tar.gz wix-5524dd89431695bf9d710e694ec49401d3cecfde.tar.bz2 wix-5524dd89431695bf9d710e694ec49401d3cecfde.zip |
Store different framework target separately
Diffstat (limited to 'src')
3 files changed, 9 insertions, 8 deletions
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> |