I want to check my solution for the use of deprecated NuGet-Packages.
So I added
- task: dotNetCoreCLI@2
name: checkDeprecatedNuGet
inputs:
command: 'custom'
projects: '**/*.sln'
custom: 'list'
arguments: 'package --deprecated'
Now it lists the deprecated packages but the build is successfull.
Is there a possibility to break the build in this case?