aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-05-10 12:04:47 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-05-10 13:59:24 +1000
commitd232c5621fe336b1f563b69be7637c93e795e151 (patch)
tree79e422e7e10453a1b2bec7ac64848311ebc99ae3
parent04eff6d8290ea8f3be0c7e8447b73451a2263bb8 (diff)
downloadwix-d232c5621fe336b1f563b69be7637c93e795e151.tar.gz
wix-d232c5621fe336b1f563b69be7637c93e795e151.tar.bz2
wix-d232c5621fe336b1f563b69be7637c93e795e151.zip
Redo nuget package so that burn.exe's get put where Core expects them to be
-rw-r--r--src/stub/WixToolset.Burn.nuspec (renamed from src/stub/runtime.win.WixToolset.Burn.nuspec)5
-rw-r--r--src/stub/WixToolset.Burn.props12
-rw-r--r--src/stub/stub.vcxproj9
3 files changed, 17 insertions, 9 deletions
diff --git a/src/stub/runtime.win.WixToolset.Burn.nuspec b/src/stub/WixToolset.Burn.nuspec
index e296bf8f..e71f64e4 100644
--- a/src/stub/runtime.win.WixToolset.Burn.nuspec
+++ b/src/stub/WixToolset.Burn.nuspec
@@ -14,7 +14,8 @@
14 </metadata> 14 </metadata>
15 15
16 <files> 16 <files>
17 <file src="Win32\burn.x86.exe" target="runtimes\win-x86\native" /> 17 <file src="$projectFolder$$id$.props" target="buildTransitive" />
18 <file src="Win32\burn.x86.pdb" target="runtimes\win-x86\native" /> 18 <file src="Win32\burn.exe" target="tools\x86" />
19 <file src="Win32\burn.pdb" target="tools\x86" />
19 </files> 20 </files>
20</package> 21</package>
diff --git a/src/stub/WixToolset.Burn.props b/src/stub/WixToolset.Burn.props
new file mode 100644
index 00000000..b83d0b1c
--- /dev/null
+++ b/src/stub/WixToolset.Burn.props
@@ -0,0 +1,12 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
5 <ItemGroup>
6 <BurnExes Include="$(MSBuildThisFileDirectory)..\tools\**\burn.exe" />
7 <None Include="@(BurnExes)">
8 <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
9 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10 </None>
11 </ItemGroup>
12</Project>
diff --git a/src/stub/stub.vcxproj b/src/stub/stub.vcxproj
index 02c61295..7af42fa9 100644
--- a/src/stub/stub.vcxproj
+++ b/src/stub/stub.vcxproj
@@ -23,16 +23,11 @@
23 </ProjectConfiguration> 23 </ProjectConfiguration>
24 </ItemGroup> 24 </ItemGroup>
25 25
26 <PropertyGroup>
27 <NameSuffix Condition=" '$(Platform)'=='Win32' ">x86</NameSuffix>
28 <NameSuffix Condition=" '$(Platform)'=='x64' ">amd64</NameSuffix>
29 </PropertyGroup>
30
31 <PropertyGroup Label="Globals"> 26 <PropertyGroup Label="Globals">
32 <ProjectGuid>{C38373AA-882F-4F55-B03F-2AAB4BFBE3F1}</ProjectGuid> 27 <ProjectGuid>{C38373AA-882F-4F55-B03F-2AAB4BFBE3F1}</ProjectGuid>
33 <ConfigurationType>Application</ConfigurationType> 28 <ConfigurationType>Application</ConfigurationType>
34 <ProjectSubSystem>Windows</ProjectSubSystem> 29 <ProjectSubSystem>Windows</ProjectSubSystem>
35 <TargetName>burn.$(NameSuffix)</TargetName> 30 <TargetName>burn</TargetName>
36 <PlatformToolset>v141</PlatformToolset> 31 <PlatformToolset>v141</PlatformToolset>
37 <CharacterSet>Unicode</CharacterSet> 32 <CharacterSet>Unicode</CharacterSet>
38 <Description>Native component of WixToolset.Burn</Description> 33 <Description>Native component of WixToolset.Burn</Description>
@@ -90,7 +85,7 @@
90 </ItemGroup> 85 </ItemGroup>
91 86
92 <Target Name="Pack" DependsOnTargets="GetBuildVersion"> 87 <Target Name="Pack" DependsOnTargets="GetBuildVersion">
93 <Exec Command='nuget pack runtime.win.WixToolset.Burn.nuspec -BasePath "$(BaseOutputPath)$(Configuration)" -OutputDirectory "$(BaseOutputPath)$(Configuration)" -NoPackageAnalysis -Properties Configuration=$(Configuration);Id=runtime.win.WixToolset.Burn;Version="$(BuildVersionSimple)";Platform=$(PlatformTarget);Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' /> 88 <Exec Command='nuget pack WixToolset.Burn.nuspec -BasePath "$(BaseOutputPath)$(Configuration)" -OutputDirectory "$(BaseOutputPath)$(Configuration)" -NoPackageAnalysis -Properties Configuration=$(Configuration);Id=WixToolset.Burn;Version="$(BuildVersionSimple)";ProjectFolder=$(MSBuildThisFileDirectory);Platform=$(PlatformTarget);Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' />
94 </Target> 89 </Target>
95 90
96 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 91 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />