Skip to content
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][Mac][Linux][Regression]With .net 10 preview 2 SDK installed, workload installation failed. #46821

Open
YingyingYuan9 opened this issue Feb 13, 2025 · 3 comments · May be fixed by #46836
Assignees
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@YingyingYuan9
Copy link
Member

Build info

10.0.100-preview.2.25112.8 (runtime-10.0.0-preview.2.25111.15 ) from https://github.com/dotnet/sdk/blob/main/documentation/package-table.md

Repro steps

1.Install the NET10 preview 2 SDK on Mac/Linux.
2.Install maui/wasm-tools/android workload.

Expected Result

workload installed successfully.

Actual result

workload installed failed with below error.

Image

Note

This bug is not reproduced on Windows.

Image

This bug is not reproduced on previous build 10.0.100-preview.1.25110.2(runtime-10.0.0-preview.1.25080.5)

Image

.NET SDK:
Version: 10.0.100-preview.2.25112.8
Commit: 1eb697b
Workload version: 10.0.100-manifests.d1373017
MSBuild version: 17.14.0-preview-25111-16+04b6e1b59

Runtime Environment:
OS Name: Mac OS X
OS Version: 15.3
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/10.0.100-preview.2.25112.8/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.

Host:
Version: 10.0.0-preview.2.25111.15
Architecture: x64
Commit: 8c92ae7100

.NET SDKs installed:
10.0.100-preview.2.25112.8 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.2.25111.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.2.25111.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Feb 13, 2025
@ChenhuiYuan01
Copy link
Member

This issue is also repro on Linux.
Image

@Forgind
Copy link
Member

Forgind commented Feb 13, 2025

Is DOTNET_CLI_HOME (an environment variable) defined?

@Forgind Forgind linked a pull request Feb 13, 2025 that will close this issue
@NicoleWang001
Copy link
Member

DOTNET_CLI_HOME has no value
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants