diff --git a/src/Microsoft.TestPlatform.Build/Microsoft.TestPlatform.targets b/src/Microsoft.TestPlatform.Build/Microsoft.TestPlatform.targets index 92558a78cf..c2759c7b0d 100644 --- a/src/Microsoft.TestPlatform.Build/Microsoft.TestPlatform.targets +++ b/src/Microsoft.TestPlatform.Build/Microsoft.TestPlatform.targets @@ -12,8 +12,8 @@ Copyright (c) .NET Foundation. All rights reserved. - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + $(MSBuildThisFileDirectory)\Microsoft.TestPlatform.Build.dll + $(MSBuildThisFileDirectory)\vstest.console.dll $(MSBuildAllProjects);$(MSBuildThisFileFullPath) @@ -41,7 +41,7 @@ Copyright (c) .NET Foundation. All rights reserved. VSTestListTests="$(VSTestListTests)" VSTestDiag="$(VSTestDiag)" VSTestCLIRunSettings="$(VSTestCLIRunSettings)" - VSTestConsolePath="$(VSTestConsolePath)" + VSTestConsolePath="$(VSTestConsoleFile)" VSTestResultsDirectory="$(VSTestResultsDirectory)" /> @@ -78,7 +78,7 @@ Copyright (c) .NET Foundation. All rights reserved. - +