diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/Tests.targets b/src/Microsoft.DotNet.Arcade.Sdk/tools/Tests.targets index b4579ce475a..12fe6ba0610 100644 --- a/src/Microsoft.DotNet.Arcade.Sdk/tools/Tests.targets +++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/Tests.targets @@ -44,7 +44,6 @@ @@ -82,9 +81,13 @@ <_TargetFramework Include="$(TargetFrameworks)" /> + + <_TargetsToRun>_InnerGetTestsToRun + <_TargetsToRun Condition="'$(EnableMSTestRunner)'=='true' OR '$(EnableNUnitRunner)'=='true' OR '$(UseMicrosoftTestingPlatformRunner)'=='true'">ComputeRunArguments;$(_TargetsToRun) +