<!-- Please keep in mind that the GitHub issue tracker is not intended as a general support forum, but for reporting **non-security** bugs and feature requests. If you believe you have an issue that affects the SECURITY of the platform, please do NOT create an issue and instead email your issue details to secure@microsoft.com. Your report may be eligible for our [bug bounty](https://www.microsoft.com/en-us/msrc/bounty-dot-net-core) but ONLY if it is reported through email. For other types of questions, consider using [StackOverflow](https://stackoverflow.com). --> ### Describe the bug Running dotnet workload restore` should install the workload set when using global.json ### To Reproduce 1. Install .NET 8.0.400 SDK 2. Install workload within manifest mode. eg. aspire workload  4. New global.json and add workloadverison ` dotnet new global.json` ``` { "sdk": { "version": "8.0.400", "workloadVersion": "8.0.400" } } ``` 5. Try to run` dotnet workload restore` to install the workload set. ### Expected Result Run `dotnet workload restore` should install the workload set eg. 'dotnet workload list'  ### Actual Result Unhandled exception: 