diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-20 19:55:02 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-20 20:03:04 +1000 |
commit | 22c97adba70fa838b8f285d404750d0f8fe685d8 (patch) | |
tree | 5971180660090913d5e6991ebf982ada733ecdda /src/test/Example.Extension/Example.Extension.csproj | |
parent | c5df86a7caaa1cbff9adde6396925383ba9a2e4e (diff) | |
download | wix-22c97adba70fa838b8f285d404750d0f8fe685d8.tar.gz wix-22c97adba70fa838b8f285d404750d0f8fe685d8.tar.bz2 wix-22c97adba70fa838b8f285d404750d0f8fe685d8.zip |
Update Example.Extension to automatically update based on its Example.wxs.
Use .wixlib instead of .wir, and skip tests which are now failing.
Add more bundle tests.
Diffstat (limited to 'src/test/Example.Extension/Example.Extension.csproj')
-rw-r--r-- | src/test/Example.Extension/Example.Extension.csproj | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/test/Example.Extension/Example.Extension.csproj b/src/test/Example.Extension/Example.Extension.csproj index 32560e60..e9483c72 100644 --- a/src/test/Example.Extension/Example.Extension.csproj +++ b/src/test/Example.Extension/Example.Extension.csproj | |||
@@ -9,11 +9,31 @@ | |||
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <EmbeddedResource Include="Data\Example.wir" /> | 12 | <ExtensionWxs Include="Data\example.wxs" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | 14 | ||
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" /> | 16 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | 18 | ||
19 | <ItemGroup> | ||
20 | <ProjectReference Include="..\CompileCoreTestExtensionWixlib\CompileCoreTestExtensionWixlib.csproj"> | ||
21 | <Private>false</Private> | ||
22 | </ProjectReference> | ||
23 | </ItemGroup> | ||
24 | |||
25 | <Target Name="SetExtensionWixlib"> | ||
26 | <PropertyGroup> | ||
27 | <CompileWixlibExePath>$(OutputPath)..\net461\CompileCoreTestExtensionWixlib.exe</CompileWixlibExePath> | ||
28 | <WixlibPath>$(IntermediateOutputPath)Example.wixlib</WixlibPath> | ||
29 | </PropertyGroup> | ||
30 | |||
31 | <ItemGroup> | ||
32 | <EmbeddedResource Include="$(WixlibPath)" /> | ||
33 | </ItemGroup> | ||
34 | </Target> | ||
35 | |||
36 | <Target Name="BuildExtensionWixlib" AfterTargets="ResolveProjectReferences" DependsOnTargets="SetExtensionWixlib" Inputs="@(ExtensionWxs)" Outputs="$(WixlibPath)"> | ||
37 | <Exec Command='$(CompileWixlibExePath) "$(IntermediateOutputPath)\" "$(WixlibPath)" "@(ExtensionWxs)"' /> | ||
38 | </Target> | ||
19 | </Project> | 39 | </Project> |