dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.75k stars 1.07k forks source link

[NETSDKE2E][ARM64] With .NET 9 Preview SDK installed, installing wasm-tools workload or maui workload option failed with error. #37035

Closed v-ainigao closed 1 year ago

v-ainigao commented 1 year ago

Repro steps:

1.Install the latest .Net 9.0 arm64 SDK from https://aka.ms/dotnet/9.0.1xx/daily/dotnet-sdk-win-arm64.exe. 2.Install wasm-tools workload using below command in CLI dotnet workload install wasm-tools

Expected Result: Workload can be installed successfully.

Actual Result: It failed with the following error: image

--Error Log-- Workload installation failed: One or more errors occurred. (microsoft.netcore.app.runtime.aot.win-arm64.cross.browser-wasm.msi.arm64::9.0.0-alpha.1.23569.2 is not found in NuGet feeds https://api.nuget.org/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json".)

vdanche commented 1 year ago

on win-x64, we also meet the same error when runing dotnet workload install wasi-experimental image

but wasm-tools can be installed successfully via dotnet workload install wasm-tools image

v-ainigao commented 1 year ago

Today on ARM64, we also meet the same error when running dotnet workload install maui, but wasm-tools and wasi-experimental can be installed successfully. CLI running: dotnet workload install wasi-experimental image dotnet workload install wasm-tools image dotnet workload install maui image Note: We found that the new version of the .net9 SDK .zip package can be installed successfully all workloads, but the version number of .exe is inconsistent with .zip package. image keep tracking by https://github.com/dotnet/installer/issues/17814

lewing commented 1 year ago

Fixed in https://github.com/dotnet/runtime/pull/95170 and https://github.com/dotnet/installer/pull/17871

v-ainigao commented 1 year ago

Today on ARM64, we also meet the same error when running dotnet workload install android and dotnet workload install maui. CLI running: dotnet workload install android image dotnet workload install maui image @lewing

vdanche commented 11 months ago

with 9.0.100-alpha.1.23607.4(runtime- 9.0.0-alpha.1.23577.7) SDK installed, below errors happen after installing android or maui in CLI, image

v-ainigao commented 11 months ago

On ARM64, we also meet the same error when running dotnet workload restore and dotnet workload install android. Can you help me take a look again? image image @lewing

FYI @richaverma1

richaverma1 commented 10 months ago

@v-ainigao is this still repro'ng? If so, file a new bug.

v-ainigao commented 10 months ago

It still reappears on the latest .NET 9.0 arm64 SDK, so I re-reported a new bug. https://github.com/dotnet/sdk/issues/38095 @richaverma1