blob: 02597b183498cee4d4038ecc35f8b816f2bdf779 (
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
|
<?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>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\WixToolset.Core.TestPackage\WixToolset.Core.TestPackage.csproj" />
</ItemGroup>
<ItemGroup>
<ExtensionWxs Include="..\Example.Extension\Data\example.wxs">
<WixlibPath>$(BaseOutputPath)TestData\$(Configuration)\example.wixlib</WixlibPath>
</ExtensionWxs>
</ItemGroup>
<Target Name="BuildExtensionWixlibs"
AfterTargets="AfterBuild"
Inputs="@(ExtensionWxs)"
Outputs="%(ExtensionWxs.WixlibPath)"
Condition=" '$(NCrunch)'!='1' ">
<Exec Command="dotnet @(TargetPathWithTargetPlatformMoniker) "$(IntermediateOutputPath) " "%(ExtensionWxs.WixlibPath)" "%(ExtensionWxs.Filename)%(ExtensionWxs.Extension)""
WorkingDirectory="%(ExtensionWxs.RelativeDir)" />
<Message Importance="high" Text="@(ExtensionWxs) -> %(ExtensionWxs.WixlibPath)" />
</Target>
</Project>
|