diff options
Diffstat (limited to 'src/test/Example.Extension/Example.Extension.csproj')
-rw-r--r-- | src/test/Example.Extension/Example.Extension.csproj | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/src/test/Example.Extension/Example.Extension.csproj b/src/test/Example.Extension/Example.Extension.csproj index d7a3b729..f8a09164 100644 --- a/src/test/Example.Extension/Example.Extension.csproj +++ b/src/test/Example.Extension/Example.Extension.csproj | |||
@@ -6,39 +6,19 @@ | |||
6 | <TargetFramework>netcoreapp2.1</TargetFramework> | 6 | <TargetFramework>netcoreapp2.1</TargetFramework> |
7 | <IsPackable>false</IsPackable> | 7 | <IsPackable>false</IsPackable> |
8 | <DebugType>embedded</DebugType> | 8 | <DebugType>embedded</DebugType> |
9 | <CompileWixlibDllPath>$(OutputPath)netcoreapp2.1\CompileCoreTestExtensionWixlib.dll</CompileWixlibDllPath> | ||
10 | </PropertyGroup> | 9 | </PropertyGroup> |
11 | 10 | ||
12 | <ItemGroup> | 11 | <ItemGroup> |
13 | <!-- Try to hack around VS up-to-date detection --> | 12 | <!-- This .wixlib is built by CompileCoreTestExtensionWixlib.csproj --> |
14 | <Content Include="$(CompileWixlibDllPath)" CopyToOutputDirectory="PreserveNewest"> | 13 | <EmbeddedResource Include="$(BaseOutputPath)TestData\$(Configuration)\Example.wixlib" /> |
15 | <Visible>false</Visible> | ||
16 | </Content> | ||
17 | <Content Include="Data\example.wxs" CopyToOutputDirectory="PreserveNewest"> | ||
18 | <Visible>false</Visible> | ||
19 | </Content> | ||
20 | <ExtensionWxs Include="Data\example.wxs" /> | ||
21 | </ItemGroup> | 14 | </ItemGroup> |
22 | 15 | ||
23 | <ItemGroup> | 16 | <ItemGroup> |
24 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" /> | 17 | <ProjectReference Include="..\CompileCoreTestExtensionWixlib\CompileCoreTestExtensionWixlib.csproj" /> |
25 | </ItemGroup> | 18 | </ItemGroup> |
26 | 19 | ||
27 | <ItemGroup> | 20 | <ItemGroup> |
28 | <ProjectReference Include="..\CompileCoreTestExtensionWixlib\CompileCoreTestExtensionWixlib.csproj" /> | 21 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" /> |
29 | </ItemGroup> | 22 | </ItemGroup> |
30 | 23 | ||
31 | <Target Name="SetExtensionWixlib"> | ||
32 | <PropertyGroup> | ||
33 | <WixlibPath>$(IntermediateOutputPath)Example.wixlib</WixlibPath> | ||
34 | </PropertyGroup> | ||
35 | |||
36 | <ItemGroup> | ||
37 | <EmbeddedResource Include="$(WixlibPath)" /> | ||
38 | </ItemGroup> | ||
39 | </Target> | ||
40 | |||
41 | <Target Name="BuildExtensionWixlib" AfterTargets="ResolveProjectReferences" DependsOnTargets="ResolveProjectReferences;SetExtensionWixlib" Inputs="@(ExtensionWxs);$(CompileWixlibDllPath)" Outputs="$(WixlibPath)"> | ||
42 | <Exec Command='dotnet $(CompileWixlibDllPath) "$(IntermediateOutputPath) " "$(WixlibPath)" "@(ExtensionWxs)"' /> | ||
43 | </Target> | ||
44 | </Project> | 24 | </Project> |