diff --git a/src/task/RunResharperCodeAnalysisTool.ps1 b/src/task/RunResharperCodeAnalysisTool.ps1 index 1e90cf4..f489ddc 100644 --- a/src/task/RunResharperCodeAnalysisTool.ps1 +++ b/src/task/RunResharperCodeAnalysisTool.ps1 @@ -25,7 +25,7 @@ function Set-Results { # Gather inputs $inspectCodeExePath = [System.IO.Path]::GetFullPath([System.IO.Path]::Combine($commandLineInterfacePath, "InspectCode.exe")); -$tempDownloadFolder = $Env:BUILD_STAGINGDIRECTORY +$tempDownloadFolder = [System.IO.Path]::Combine($Env:BUILD_SOURCESDIRECTORY , "resharper") if(!(Test-Path $inspectCodeExePath)) { # Download Resharper from nuget @@ -92,7 +92,7 @@ Write-Output "Inspecting code for $solutionOrProjectPath" $arguments = """$solutionOrProjectFullPath"" /o:""$inspectCodeResultsPath"" $additionalArguments" -Write-Output "Invoking InspectCode.exe using arguments $arguments" +Write-Output "Invoking InspectCode.exe using arguments $arguments" Start-Process -FilePath $inspectCodeExePath -ArgumentList $arguments -Wait