diff options
| author | Rob Mensching <rob@firegiant.com> | 2022-09-03 10:44:33 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2022-09-23 09:50:52 -0700 |
| commit | 7a86b33a38f29b315e8f08759eba42e8fe296fd7 (patch) | |
| tree | 58a6ac547b25127daa4a4053ef250afb0b2e9d83 /src/Directory.csproj.targets | |
| parent | 002dc6077477c6a7762f1fca225c2577913a2c82 (diff) | |
| download | wix-7a86b33a38f29b315e8f08759eba42e8fe296fd7.tar.gz wix-7a86b33a38f29b315e8f08759eba42e8fe296fd7.tar.bz2 wix-7a86b33a38f29b315e8f08759eba42e8fe296fd7.zip | |
Centralize test project configuration with IsWixTestProject
Diffstat (limited to 'src/Directory.csproj.targets')
| -rw-r--r-- | src/Directory.csproj.targets | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Directory.csproj.targets b/src/Directory.csproj.targets index b131565c..4ec71cf1 100644 --- a/src/Directory.csproj.targets +++ b/src/Directory.csproj.targets | |||
| @@ -12,7 +12,18 @@ | |||
| 12 | 12 | ||
| 13 | <Target Name="__SetAssemblyInfoFromGit" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="GetAssemblyVersion" /> | 13 | <Target Name="__SetAssemblyInfoFromGit" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="GetAssemblyVersion" /> |
| 14 | 14 | ||
| 15 | <ItemGroup> | 15 | <PropertyGroup Condition=" '$(IsWixTestProject)'=='true' "> |
| 16 | <IsPackable>false</IsPackable> | ||
| 17 | <SignOutput>false</SignOutput> | ||
| 18 | </PropertyGroup> | ||
| 19 | |||
| 20 | <ItemGroup Condition=" '$(IsWixTestProject)'=='true' "> | ||
| 21 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
| 22 | <PackageReference Include="xunit" /> | ||
| 23 | <PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" /> | ||
| 24 | </ItemGroup> | ||
| 25 | |||
| 26 | <ItemGroup Condition=" '$(IsWixTestProject)'!='true' "> | ||
| 16 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | 27 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
| 17 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | 28 | <PackageReference Include="GitInfo" PrivateAssets="All" /> |
| 18 | </ItemGroup> | 29 | </ItemGroup> |
