Open baronfel opened 9 months ago
So, Chet and I talked a bit about this offline. This was already fixed in main here: https://github.com/dotnet/sdk/pull/35640 We were deciding if it needs to be backported at this point or not. Keep in mind, it is a breaking change since tooling parsing for anyone using this would need to be changed.
I think we should given that partner teams want to use this to automate.
Describe the bug
dotnet workload list --machine-readable
always emits manifest update messages to stdout. This means that the machine-readable output cannot be simply parsed by taking stdout.To Reproduce
This is because the
workload updater
used for the list command here doesn't set the optionalbool displayManifestUpdates = true
constructor parameter.We should make that parameter available to
list
and flow it through to the updater here. This is another one of those 'stop logging diagnostic messages to stdout' issues.Further technical details