-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NETSDKE2E][Workload Sets] With manifest mode and workload installed, Unhandled exception occurs when running dotnet workload --info
using global.json
#42581
Comments
dotnet workload --info
using global.json dotnet workload --info
using global.json
This issue report looks correct to me, but I consider it slightly lower priority because although it shouldn't be an unhandled exception with a call stack, it is still an error scenario, and the error message is correct. |
@Forgind Currently this bug not fix in net8.0.402. right? |
It was merged into main last week, so it shouldn't be fixed until 9.0 |
@Forgind the latest message for NET9 RC2 as below when running dotnet workload --info using globaljson: dotnet workload --info, error "Unhandled exception: System.IO.FileNotFoundException..." still remains,right? dotnet --info, "Workload version 9.0.100, which was specified in..." not display in dotnet --info, is it expected? |
I thought it should be in 9.0, but apparently my pr made it in after we branched, so it's in main but not release/9.0.1xx I'd be in favor of backporting it. @marcpopMSFT, do we still have enough time? |
On the one hand, it's a very niche scenario. On the other, we want people to try out workloads in 9.0.100 more broadly. @baronfel @dsplaisted it probably makes sense to take this for GA as the fix looks reasonable enough. Thoughts? |
Here's a PR backporting this to 9.0.1xx: #43587 |
9.0.2xx now, it seems |
@Forgind Fixed on 9.0.200-preview.0.24512.3 sdk, thanks. Currently, still not fix on net9 rtm sdk(9.0.100-rtm.24514.22) |
It won't be fixed on 9.0.100, so there's no need to test that. |
Describe the bug
With manifest mode and workload installed, Unhandled exception occurs when running '
dotnet workload --info
using global.jsonTo 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
dotnet workload --info
and observeExpected Result
Proper suggestion without any exception. eg. '

dotnet workload list
'Actual Result
Unhandled exception:

The text was updated successfully, but these errors were encountered: