dotnet / dotnet/sdk

[NETSDKE2E] With NET9 RC1 SDK installed, the output in ‘’dotnet workload –info” should be displayed as workload sets after installing the workload set from global.json.

Open
#43,240 3 comments 0 reactions 1 assignee Claimed by @dsplaisted View on GitHub
Area-Workloads untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

Build: 9.0.100-rc.1.24452.12 on win-x64

1. install net9 rc1 sdk on win-x64
2. dotnet workload install aspire
3. mkdir test
4. cd test
5. dotnet new globaljson and add update it with below contents
{
"sdk": {
"workloadversion": "9.0.100-rc.1.24453.3"
}
}
5.dotnet workload update
6.dotnet workload --info

**Expected Result:**
The output of dotnet workload --info display correctly

**Actual Result:**
The string "loose manifest" is displayed not "workload set"
![image](https://github.com/user-attachments/assets/efd34901-8192-40cb-90e0-cc35fabe51d4)

Note:
if we go back to the previous level of test directory and do below operation, and then go to test which contains globaljson, it will display normally.
Dotnet workload config --update-mode workload-set
Dotnet workload update

![image](https://github.com/user-attachments/assets/f0fb3c93-2a2b-4be1-a1d7-a0387a3b4465)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.