Skip to content

Commit

Permalink
Fix xunit test runner causing the unit tests projects to always build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Feb 25, 2018
1 parent e4c960c commit d5c527c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
<MSBuildAllProjects Condition="'$(IsTestProject)' == 'true' OR '$(NonShipping)' == 'true'">$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\build\Analyzers_ShippingRules.ruleset</MSBuildAllProjects>
</PropertyGroup>

<ItemGroup>
<!-- Workaround for https://github.com/xunit/xunit/issues/1651 -->
<None Remove="$(NuGetPackageRoot)xunit.runner.visualstudio\$(XUnitRunnerVisualStudioVersion)\build\net20\..\_common\xunit.abstractions.dll" />
</ItemGroup>

<Import Project="$(RepoToolsetDir)Imports.targets" Condition="Exists('$(RepoToolsetDir)Imports.targets')" />
</Project>

0 comments on commit d5c527c

Please sign in to comment.