Describe the bug
I specified a specific workload version in a global.json file, except that workload version was nowhere to be found. I expected an error, and it did fail (good), but the error message was confusing and a bit wrong:
Workload installation failed: Workload version 8.0.300-preview.1.24164.2, which was specified in C:\GitHub\sdk\global.json, was not found. Run "dotnet workload restore" to install this workload version.
It should instead say something more like Workload installation failed: Workload version 8.0.300-preview.1.24164.2, which was specified in C:\GitHub\sdk\global.json was not found. Adding a feed that contains it to your NuGet.config may help.
To Reproduce
Exceptions (if any)
Further technical details
- Include the output of
dotnet --info
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version