Closed ar0311 closed 11 months ago
@lewing FYI
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | ar0311 |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `area-Setup`, `untriaged` |
Milestone: | - |
@ar0311 What's the exact version that you installed? Also, can you share the output of dotnet --info
?
which nuget feeds do you have configured? this is likely a variation of https://github.com/dotnet/sdk/issues/18972
AFAIK there is no custom NuGet.config
The DEB version installed is from install-dotnet-preview.sh script
@ubuntu:~/Repos/blazorwasm60$ dotnet --info .NET SDK (reflecting any global.json): Version: 6.0.100-preview.6.21355.2 Commit: 7f8e0d76c0
Runtime Environment: OS Name: ubuntu OS Version: 21.04 OS Platform: Linux RID: ubuntu.21.04-x64 Base Path: /usr/share/dotnet/sdk/6.0.100-preview.6.21355.2/
Host (useful for support): Version: 6.0.0-preview.6.21352.12 Commit: 770d630b28
.NET SDKs installed: 3.1.411 [/usr/share/dotnet/sdk] 5.0.302 [/usr/share/dotnet/sdk] 6.0.100-preview.6.21355.2 [/usr/share/dotnet/sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 3.1.17 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.6.21355.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.17 [/usr/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0-preview.6.21352.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download
~/Repos/blazorwasm60$ dotnet nuget list source Registered Sources:
UPDATE: same error using preview7 SDK and the new "wasm-tools" workload ID.
@ar0311 Can you confirm that you have workload manifest files present in your SDK? Those define the workload IDs that the install command would recognize. They should be under a folder named sdk-manifests in your dotnet installation
adam@ubuntu:/usr/share/dotnet$ ls default.profraw host metadata sdk templates dotnet LICENSE.txt packs shared ThirdPartyNotices.txt
that's all thats in the dotnet directory
Thanks @ar0311 The manifest files is the primary driver behind workload commands as it defines both the packs used to compose a workload, but also the dependencies between different workloads. I've got an Ubuntu setup with 20.04 and see if I can repro this.
@ar0311 follow up question. How did you install? tar ball, .deb, install scripts?
So that tar.gz definitely has the manifest files
I ran sudo ./dotnet-install.sh --install-dir /usr/share/dotnet/sdk/ --os linux --version 6.0.100-preview.6.21355.2
and end up with this
I used install-dotnet-preview.sh to install preview 7.
So it was installed via .deb
That's not one of our official scripts is it? I only know about install-dotnet.sh.
Thanks, I checked the .deb file from preview7 and it too is missing the manifest files. The only work-around would be to pull them from the tar.gz and copy them in or switch to using the tar ball for the installation until we can fix this.
this works fine inside docker container from image mcr.microsoft.com/dotnet/sdk:6.0.100-preview.7-focal-amd64
with python3
installed
this works fine inside docker container from image
mcr.microsoft.com/dotnet/sdk:6.0.100-preview.7-focal-amd64
withpython3
installed
That's probably because it's installed using the binary archive in the container, not the deb?
Thanks, I checked the .deb file from preview7 and it too is missing the manifest files. The only work-around would be to pull them from the tar.gz and copy them in or switch to using the tar ball for the installation until we can fix this.
Can confirm copying the sdk-manifests folder from tar.gz to dotnet folder created by preview deb work around allowed me to sucessfully install wasm-tools workload and use it.
Awesome, we're working on getting the .deb fixed
Old workload install bug. Should be working now.
Installed 6.0-preview6 via install-dotnet-preview.sh
ubuntu:~$ sudo dotnet workload install microsoft-net-sdk-blazorwebassembly-aot Workload with id microsoft-net-sdk-blazorwebassembly-aot is not recognized. install Install a workload.
Usage: dotnet [options] workload install [...]
Arguments: