diff options
Diffstat (limited to 'src/test/CompileCoreTestExtensionWixlib')
| -rw-r--r-- | src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj b/src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj index 41c10d40..02597b18 100644 --- a/src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj +++ b/src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj | |||
| @@ -4,10 +4,29 @@ | |||
| 4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
| 5 | <PropertyGroup> | 5 | <PropertyGroup> |
| 6 | <TargetFramework>netcoreapp2.1</TargetFramework> | 6 | <TargetFramework>netcoreapp2.1</TargetFramework> |
| 7 | <IsPackable>false</IsPackable> | ||
| 7 | <OutputType>Exe</OutputType> | 8 | <OutputType>Exe</OutputType> |
| 8 | </PropertyGroup> | 9 | </PropertyGroup> |
| 9 | 10 | ||
| 10 | <ItemGroup> | 11 | <ItemGroup> |
| 11 | <ProjectReference Include="..\..\WixToolset.Core.TestPackage\WixToolset.Core.TestPackage.csproj" /> | 12 | <ProjectReference Include="..\..\WixToolset.Core.TestPackage\WixToolset.Core.TestPackage.csproj" /> |
| 12 | </ItemGroup> | 13 | </ItemGroup> |
| 13 | </Project> \ No newline at end of file | 14 | |
| 15 | <ItemGroup> | ||
| 16 | <ExtensionWxs Include="..\Example.Extension\Data\example.wxs"> | ||
| 17 | <WixlibPath>$(BaseOutputPath)TestData\$(Configuration)\example.wixlib</WixlibPath> | ||
| 18 | </ExtensionWxs> | ||
| 19 | </ItemGroup> | ||
| 20 | |||
| 21 | <Target Name="BuildExtensionWixlibs" | ||
| 22 | AfterTargets="AfterBuild" | ||
| 23 | Inputs="@(ExtensionWxs)" | ||
| 24 | Outputs="%(ExtensionWxs.WixlibPath)" | ||
| 25 | Condition=" '$(NCrunch)'!='1' "> | ||
| 26 | |||
| 27 | <Exec Command="dotnet @(TargetPathWithTargetPlatformMoniker) "$(IntermediateOutputPath) " "%(ExtensionWxs.WixlibPath)" "%(ExtensionWxs.Filename)%(ExtensionWxs.Extension)"" | ||
| 28 | WorkingDirectory="%(ExtensionWxs.RelativeDir)" /> | ||
| 29 | |||
| 30 | <Message Importance="high" Text="@(ExtensionWxs) -> %(ExtensionWxs.WixlibPath)" /> | ||
| 31 | </Target> | ||
| 32 | </Project> | ||
