Describe the bug
With manifest mode and workload installed, Unhandled exception occurs when running 'dotnet workload --info using global.json
To Reproduce
-
Install .NET 8.0.400 SDK
-
Install workload eg. aspire
dotnet workload install aspire

-
New a global.json and add workloadverion to this file under a new folder
c:\tt\TestWithGloabalJson
cd c:\tt\TestWithGloabalJson
dotnet new global.json
{
"sdk": {
"version": "8.0.400",
"workloadVersion": "8.0.400"
}
}
- Run
dotnet workload --info and observe
Expected Result
Proper suggestion without any exception. eg. 'dotnet workload list'

Actual Result
Unhandled exception:

Describe the bug
With manifest mode and workload installed, Unhandled exception occurs when running '
dotnet workload --infousing global.jsonTo Reproduce
Install .NET 8.0.400 SDK
Install workload eg. aspire

dotnet workload install aspireNew a global.json and add workloadverion to this file under a new folder
dotnet workload --infoand observeExpected Result
Proper suggestion without any exception. eg. '

dotnet workload list'Actual Result
Unhandled exception:
