summaryrefslogtreecommitdiff
path: root/src/TestData/CacheTests/BundleC/BundleC.wixproj
blob: 0acc29c430c81f0c5fcc726f5c5b34e8d4d9de84 (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
<!-- 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>
    <UpgradeCode>{997BDF9A-2540-42DB-8F86-296BA243194B}</UpgradeCode>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\PackageA\PackageA.wixproj" />
    <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.101" />
    <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.73" />
  </ItemGroup>
  <!-- We do this dynamically to avoid committing such a large file to source control. -->
  <Target Name="CreateLargeFile" AfterTargets="BeforeBuild" Inputs="$(MSBuildProjectFullPath)" Outputs="$(MSBuildProjectDirectory)\fivegb.file">
    <Exec Command='"$(BaseOutputPath)$(Configuration)\netcoreapp3.1\win-x86\testexe.exe" /lf "fivegb.file|5368709120' WorkingDirectory="$(MSBuildProjectDirectory)" />
  </Target>
  <!-- We do this to avoid copying such a large file to the VM to run the tests. -->
  <Target Name="DeleteLargeFile" AfterTargets="AfterBuild">
    <Delete Files="$(OutputPath)fivegb.file" />
  </Target>
</Project>