diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-07-19 15:15:31 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-07-20 08:53:56 -0500 |
| commit | 93bb820eff547f8de304f05249f572da861256fb (patch) | |
| tree | e926ae5c3b694553bb38963e7ab9ac28729148db /src/test/dtf/SampleCA | |
| parent | 229242cf7c328b89b5aa65ed7a04e33c8b93b393 (diff) | |
| download | wix-93bb820eff547f8de304f05249f572da861256fb.tar.gz wix-93bb820eff547f8de304f05249f572da861256fb.tar.bz2 wix-93bb820eff547f8de304f05249f572da861256fb.zip | |
Improve DTF samples.
Diffstat (limited to 'src/test/dtf/SampleCA')
| -rw-r--r-- | src/test/dtf/SampleCA/CustomAction.config | 10 | ||||
| -rw-r--r-- | src/test/dtf/SampleCA/SampleCA.csproj | 8 | ||||
| -rw-r--r-- | src/test/dtf/SampleCA/testsub/testfile.txt | 1 |
3 files changed, 18 insertions, 1 deletions
diff --git a/src/test/dtf/SampleCA/CustomAction.config b/src/test/dtf/SampleCA/CustomAction.config new file mode 100644 index 00000000..700aff6f --- /dev/null +++ b/src/test/dtf/SampleCA/CustomAction.config | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8" ?> | ||
| 2 | <!-- 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. --> | ||
| 3 | |||
| 4 | |||
| 5 | <configuration> | ||
| 6 | <startup useLegacyV2RuntimeActivationPolicy="true"> | ||
| 7 | <supportedRuntime version="v4.0" /> | ||
| 8 | <supportedRuntime version="v2.0.50727" /> | ||
| 9 | </startup> | ||
| 10 | </configuration> | ||
diff --git a/src/test/dtf/SampleCA/SampleCA.csproj b/src/test/dtf/SampleCA/SampleCA.csproj index fb6d8dca..866b7575 100644 --- a/src/test/dtf/SampleCA/SampleCA.csproj +++ b/src/test/dtf/SampleCA/SampleCA.csproj | |||
| @@ -1,10 +1,16 @@ | |||
| 1 | <Project Sdk="Microsoft.NET.Sdk"> | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> | 2 | <PropertyGroup> |
| 3 | <TargetFramework>net472</TargetFramework> | 3 | <TargetFramework>net20</TargetFramework> |
| 4 | <Description>Sample managed custom actions</Description> | 4 | <Description>Sample managed custom actions</Description> |
| 5 | </PropertyGroup> | 5 | </PropertyGroup> |
| 6 | 6 | ||
| 7 | <ItemGroup> | 7 | <ItemGroup> |
| 8 | <Content Include="CustomAction.config" CopyToOutputDirectory="PreserveNewest" /> | ||
| 9 | <None Include="testsub\testfile.txt" CopyToOutputDirectory="PreserveNewest" /> | ||
| 10 | <CustomActionContents Include="testsub\SampleCAs.cs=$(OutputDirectory)testsub\testfile.txt" /> | ||
| 11 | </ItemGroup> | ||
| 12 | |||
| 13 | <ItemGroup> | ||
| 8 | <PackageReference Include="WixToolset.Dtf.CustomAction" /> | 14 | <PackageReference Include="WixToolset.Dtf.CustomAction" /> |
| 9 | </ItemGroup> | 15 | </ItemGroup> |
| 10 | </Project> | 16 | </Project> |
diff --git a/src/test/dtf/SampleCA/testsub/testfile.txt b/src/test/dtf/SampleCA/testsub/testfile.txt new file mode 100644 index 00000000..8056aefd --- /dev/null +++ b/src/test/dtf/SampleCA/testsub/testfile.txt | |||
| @@ -0,0 +1 @@ | |||
| test file for testing subdirectory support and binary stream reading | |||
