Skip to content

[release/9.0.1xx] make error for workload info clean Fixes #42581#43587

Merged
dsplaisted merged 2 commits intorelease/9.0.2xxfrom
backport/pr-42630-to-release/9.0.1xx
Oct 4, 2024
Merged

[release/9.0.1xx] make error for workload info clean Fixes #42581#43587
dsplaisted merged 2 commits intorelease/9.0.2xxfrom
backport/pr-42630-to-release/9.0.1xx

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Sep 19, 2024

Backport of #42630 to release/9.0.2xx

/cc @dsplaisted @Forgind

This is a backport of a fix to an issue where an exception would be displayed in dotnet workload --info when a workload set specified in global.json was not found, and when there was at least one workload installed.

In addition to the backport, this PR refactors how the workload state is reported, normalizes some of the messages in different scenarios, and adds a test for the failing case.

@dsplaisted dsplaisted requested a review from a team September 20, 2024 19:46
@dsplaisted
Copy link
Copy Markdown
Member

/azp run dotnet-sdk-public-ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Workloads untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants