Open afscrome opened 9 months ago
DotNetCoreCLI@2
The DotNetCoreCLI task has a custom MSBuild logger to easily show errors & warnings in the Azure Devops UI, which is great. However this logger is currently only passed in to the build command, so doesn't clearly highlight restore, test or publish failures. https://github.com/microsoft/azure-pipelines-tasks/blob/6b291c4a2f8b945b469259cc4dc685a966bc0335/Tasks/DotNetCoreCLIV2/dotnetcore.ts#L111-L114
DotNetCoreCLI
This logger should be passed in to dotnet commands that use msbuild under the hood. I the commands this should be done for are :
dotnet
build
format
msbuild
pack
publish
restore
run
test
This seems the same as #16366
Task name
DotNetCoreCLI@2
Describe your feature request here
The
DotNetCoreCLI
task has a custom MSBuild logger to easily show errors & warnings in the Azure Devops UI, which is great. However this logger is currently only passed in to the build command, so doesn't clearly highlight restore, test or publish failures.https://github.com/microsoft/azure-pipelines-tasks/blob/6b291c4a2f8b945b469259cc4dc685a966bc0335/Tasks/DotNetCoreCLIV2/dotnetcore.ts#L111-L114
This logger should be passed in to
dotnet
commands that use msbuild under the hood. I the commands this should be done for are :build
format
msbuild
pack
publish
restore
run
test