summaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/Manual/BundleB/BundleB.wixproj
blob: bd6e222aeb90bbc0758c13944442c7a28ea6c829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!-- 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. -->
<Project Sdk="WixToolset.Sdk">
  <PropertyGroup>
    <OutputType>Bundle</OutputType>
    <BA>hyperlinkLicense</BA>
    <UpgradeCode>{5DE2F206-3C37-4265-81F7-095284E16B08}</UpgradeCode>
    <HarvestDirectoryAdditionalOptions>-generate payloadgroup</HarvestDirectoryAdditionalOptions>
  </PropertyGroup>
  <ItemGroup>
    <HarvestDirectory Include="BAPayloads">
      <ComponentGroupName>BAPayloads</ComponentGroupName>
      <DirectoryRefId>BAPayloads</DirectoryRefId>
      <Transforms>ba.xslt</Transforms>
    </HarvestDirectory>
    <HarvestDirectory Include="PackagePayloads">
      <ComponentGroupName>PackagePayloads</ComponentGroupName>
      <DirectoryRefId>PackagePayloads</DirectoryRefId>
      <Transforms>package.xslt</Transforms>
    </HarvestDirectory>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\PackageA\PackageA.wixproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="WixToolset.Heat" />
    <PackageReference Include="WixToolset.Bal.wixext" />
  </ItemGroup>
  <!-- We do this dynamically to avoid committing so many files to source control. -->
  <Target Name="CreateThousandsOfFiles" AfterTargets="BeforeBuild">
    <Exec Command='"$(BaseOutputPath)$(Configuration)\netcoreapp3.1\win-x86\testexe.exe" /gf "BAPayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" />
    <Exec Command='"$(BaseOutputPath)$(Configuration)\netcoreapp3.1\win-x86\testexe.exe" /gf "PackagePayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" />
  </Target>
</Project>