diff options
Diffstat (limited to '')
| -rw-r--r-- | src/Directory.csproj.targets | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Directory.csproj.targets b/src/Directory.csproj.targets index ed041bb8..d5bfb960 100644 --- a/src/Directory.csproj.targets +++ b/src/Directory.csproj.targets | |||
| @@ -20,16 +20,6 @@ | |||
| 20 | <TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure> | 20 | <TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure> |
| 21 | </PropertyGroup> | 21 | </PropertyGroup> |
| 22 | 22 | ||
| 23 | <Target Name="RunWixTests" AfterTargets="Build" Condition=" '$(IsWixMSTestProject)' == 'true' AND '$(SuppressWixTests)' != 'true' "> | ||
| 24 | <Delete Files="$(TestResultsFolder)$(MSBuildProjectName).trx" /> | ||
| 25 | |||
| 26 | <Exec | ||
| 27 | Command="$(TargetPath.Replace('.dll', '.exe')) --results-directory $(TestResultsFolder) --report-trx --report-trx-filename $(MSBuildProjectName).trx --no-progress --settings $([MSBuild]::GetPathOfFileAbove('wix.runsettings'))" | ||
| 28 | UseCommandProcessor="false" | ||
| 29 | CustomErrorRegularExpression=" Test method .+ threw exception:" /> | ||
| 30 | </Target> | ||
| 31 | |||
| 32 | |||
| 33 | <ItemGroup Condition=" '$(IsWixTestProject)'=='true' "> | 23 | <ItemGroup Condition=" '$(IsWixTestProject)'=='true' "> |
| 34 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> | 24 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
| 35 | <PackageReference Include="xunit" /> | 25 | <PackageReference Include="xunit" /> |
