diff options
author | Rob Mensching <rob@firegiant.com> | 2021-01-05 15:13:04 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-01-05 23:18:34 -0800 |
commit | b00c72ed0ef19d2e46f60361fa06821b0bd5ec94 (patch) | |
tree | cf9952188d97c18f0f1f038491c6e1201160c772 /src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj | |
parent | 6a035fa8f14425cb642f03767c29de72d7a75d10 (diff) | |
download | wix-b00c72ed0ef19d2e46f60361fa06821b0bd5ec94.tar.gz wix-b00c72ed0ef19d2e46f60361fa06821b0bd5ec94.tar.bz2 wix-b00c72ed0ef19d2e46f60361fa06821b0bd5ec94.zip |
Fix up tests to work well under NCrunch plus whitespace clean up
Diffstat (limited to 'src/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj')
-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> | ||