blob: fe05fcb290d19bd8c3942519c46c8259f60ccf48 (
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
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0" encoding="utf-8"?>
<!-- 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="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>false</IsPackable>
<DebugType>embedded</DebugType>
<CompileWixlibExePath>$(OutputPath)net472\CompileCoreTestExtensionWixlib.exe</CompileWixlibExePath>
</PropertyGroup>
<ItemGroup>
<!-- Try to hack around VS up-to-date detection -->
<Content Include="$(CompileWixlibExePath)" CopyToOutputDirectory="PreserveNewest">
<Visible>false</Visible>
</Content>
<ExtensionWxs Include="Data\example.wxs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Extensibility" Version="4.0.*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CompileCoreTestExtensionWixlib\CompileCoreTestExtensionWixlib.csproj">
<Private>false</Private>
</ProjectReference>
</ItemGroup>
<Target Name="SetExtensionWixlib">
<PropertyGroup>
<WixlibPath>$(IntermediateOutputPath)Example.wixlib</WixlibPath>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="$(WixlibPath)" />
</ItemGroup>
</Target>
<Target Name="BuildExtensionWixlib" AfterTargets="ResolveProjectReferences" DependsOnTargets="ResolveProjectReferences;SetExtensionWixlib" Inputs="@(ExtensionWxs);$(CompileWixlibExePath)" Outputs="$(WixlibPath)">
<Exec Command='$(CompileWixlibExePath) "$(IntermediateOutputPath)\" "$(WixlibPath)" "@(ExtensionWxs)"' />
</Target>
</Project>
|