dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.18k stars 4.72k forks source link

workload notfound in stalling Workload microsoft-net-sdk-blazorwebassembly-aot #58325

Closed b3b00 closed 3 years ago

b3b00 commented 3 years ago

I don't know if it's the right place ot post this issue so please excuse if I'm wrong.

Description

Hello,

When installing workload i've got the following error :

$ dotnet workload install microsoft-net-sdk-blazorwebassembly-aot

Workload with id microsoft-net-sdk-blazorwebassembly-aot is not recognized.
install
  Installe un outil global ou local. Les outils locaux sont ajoutés au manifeste, puis restaurés.

Usage:
|... snip ...]

Configuration

OS : Linux Mint 20.1 Ulyssa ( x64 ) dotnet sdk :

SDK .NET (reflétant tous les fichiers global.json) :
 Version:   6.0.100-preview.7.21379.14
 Commit:    22d70b47bc

Environnement d'exécution :
 OS Name:     linuxmint
 OS Version:  20.1
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /home/olivier/dotnet/sdk/6.0.100-preview.7.21379.14/

Host (useful for support):
  Version: 6.0.0-preview.7.21377.19
  Commit:  91ba01788d

.NET SDKs installed:
  6.0.100-preview.7.21379.14 [/home/olivier/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.0-preview.7.21378.6 [/home/olivier/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [/home/olivier/dotnet/shared/Microsoft.NETCore.App] 

The same happens on a github actions workflow : https://github.com/b3b00/BlazorWasmGitHub/blob/main/.github/workflows/dotnetcore.yml with ubuntu-latest or windows-latest.

on my linux box nuget sources are :

dotnet nuget list source
Sources inscrites :
  1.  nuget.org [Activé]
      https://api.nuget.org/v3/index.json
dotnet-issue-labeler[bot] commented 3 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ivanjx commented 3 years ago

try dotnet workload install wasm-tools instead

b3b00 commented 3 years ago

thanks @realivanjx , it works