`dotnet workload install` with `--version` fails
Open
Area-Workloads
untriaged
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
If the provided version has less than 3 components, the command "crashes" with:
```
Workload installation failed: Index was outside the bounds of the array.
```
Looks like the parsing is broken and doesn't account well for human input:
https://github.com/dotnet/sdk/blob/d1b5a8127ee3b965e251052189f3695fe2a96fbd/src/Common/WorkloadSetVersion.cs#L30-L33
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.