Skip to content

Commit 1d62ebf

Browse files
author
Steve Powell
committed
Merge 24530 into default
2 parents 8fa608c + 8c254ed commit 1d62ebf

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

projects/client/Unit/RabbitMQ.Client.Unit.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</PropertyGroup>
6060

6161
<!-- Running the tests -->
62-
<Target Name="RunUnitTests" DependsOnTargets="ImportSSL">
63-
<Exec Command='$(MonoNunitTempSetting)$(PropLaunchExe)..\..\..\lib\nunit\nunit-console.exe "build\bin\$(AssemblyName).dll"' WorkingDirectory="$(MSBuildProjectDirectory)" ContinueOnError="true" />
62+
<Target Name="RunUnitTests" DependsOnTargets="Build;ImportSSL">
63+
<Exec Command='$(MonoNunitTempSetting)$(PropLaunchExe)..\..\..\lib\nunit\nunit-console.exe "build\bin\$(AssemblyName).dll"' WorkingDirectory="$(MSBuildProjectDirectory)" ContinueOnError="false" />
6464
</Target>
6565

6666
<!-- Clean test result file -->
@@ -97,10 +97,7 @@
9797
<!-- Microsoft CSharp targets -->
9898
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
9999

100-
<!-- Custom AfterBuild -->
101-
<Target Name="AfterBuild" DependsOnTargets="RunUnitTests" />
102-
103-
<!-- Custom BeforeClean -->
100+
<!-- Custom BeforeClean -->
104101
<Target Name="BeforeClean" DependsOnTargets="CleanTestResults" />
105102

106103
</Project>

0 commit comments

Comments
 (0)