Skip to content

Commit 8c254ed

Browse files
committed
don't run tests as part of build
1 parent ac05fd3 commit 8c254ed

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</PropertyGroup>
6060

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

@@ -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)