blob: cea07deda16ab43051133b3759f5a22569128a24 (
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" />
<PackageReference Include="WixToolset.NetFx.wixext" />
</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)\net6.0\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>
|