diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bea3757..4f48835 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -49,7 +49,7 @@ stages: pwsh: true targetType: inline script: | - $output = dotnet list "$(Solution)" package --vulnerable + $output = dotnet list "$(Build.SourcesDirectory)\$(Solution)" package --vulnerable Write-Output $output $errors = $output | Select-String '>' if ($errors.Count -gt 0)