Skip to content

dotnet workload install wasm-tools Fails #21277

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

Closed
TanayParikh opened this issue Sep 15, 2021 · 4 comments
Closed

dotnet workload install wasm-tools Fails #21277

TanayParikh opened this issue Sep 15, 2021 · 4 comments
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@TanayParikh
Copy link
Contributor

Error:

Installation rollback failed: Failed to install manifest microsoft.net.sdk.tvos version 15.0.100-rc.1.496: The transaction has aborted..
Rolling back pack Microsoft.NET.Runtime.WebAssembly.Sdk installation...
Workload installation failed: microsoft.net.runtime.webassembly.sdk::6.0.0-rc.2.21460.8 is not found in NuGet feeds https://api.nuget.org/v3/index.json".

Full Console Output:

sudo dotnet workload install wasm-tools

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100-rc.2.21465.13

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------

Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.workload.emscripten.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.android.
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-rc.1.1534…
Installing workload manifest microsoft.net.sdk.android version 31.0.100-rc.1.12…
Installing workload manifest microsoft.net.sdk.maui version 6.0.100-rc.1.1608…
Installing workload manifest microsoft.net.sdk.macos version 12.0.100-rc.1.1534…
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-rc.1.1534…
Installing workload manifest microsoft.net.sdk.ios version 15.0.100-rc.1.1534…
Installing pack Microsoft.NET.Runtime.WebAssembly.Sdk version 6.0.0-rc.2.21460.8...
Workload installation failed. Rolling back installed packs...
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-rc.1.496…
Installation rollback failed: Failed to install manifest microsoft.net.sdk.tvos version 15.0.100-rc.1.496: The transaction has aborted..
Rolling back pack Microsoft.NET.Runtime.WebAssembly.Sdk installation...
Workload installation failed: microsoft.net.runtime.webassembly.sdk::6.0.0-rc.2.21460.8 is not found in NuGet feeds https://api.nuget.org/v3/index.json".

Sources:

dotnet nuget list source
Registered Sources:
  1.  nuget.org [Enabled]
      https://api.nuget.org/v3/index.json
  2.  dotnet6 [Enabled]
      https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
@TanayParikh
Copy link
Contributor Author

Probably belongs in dotnet/runtime

@TanayParikh
Copy link
Contributor Author

Also, is it expected to go to https://api.nuget.org/v3/index.json if it isn't a registered source?

$ sudo dotnet workload install wasm-tools

Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Updated advertising manifest microsoft.net.workload.emscripten.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Installing pack Microsoft.NET.Runtime.WebAssembly.Sdk version 6.0.0-rc.2.21460.8...
Workload installation failed. Rolling back installed packs...
Installation rollback failed: Workload not found: microsoft-net-sdk-blazorwebassembly-aot. Known workloads: tvos android android-aot maui maui-mobile maui-desktop maui-core maui-android maui-maccatalyst maui-ios maui-windows macos microsoft-net-sdk-emscripten maccatalyst ios wasm-tools microsoft-net-runtime-android microsoft-net-runtime-android-aot microsoft-net-runtime-ios runtimes-ios microsoft-net-runtime-maccatalyst runtimes-maccatalyst microsoft-net-runtime-macos microsoft-net-runtime-tvos runtimes-tvos microsoft-net-runtime-mono-tooling
Rolling back pack Microsoft.NET.Runtime.WebAssembly.Sdk installation...
Workload installation failed: microsoft.net.runtime.webassembly.sdk::6.0.0-rc.2.21460.8 is not found in NuGet feeds https://api.nuget.org/v3/index.json".


$dotnet nuget list source
Registered Sources:
  1.  dotnet6 [Enabled]
      https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json

@mkArtakMSFT mkArtakMSFT transferred this issue from dotnet/aspnetcore Sep 20, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Sep 22, 2021
@NikolaMilosavljevic NikolaMilosavljevic transferred this issue from dotnet/runtime Sep 22, 2021
@marcpopMSFT
Copy link
Member

See #20930 which probably explains this behavior. Try a newer rc2 build and let us know if it's not resolved.

@beefydog
Copy link

beefydog commented Jul 28, 2023

Did anyone find an actual solution to this problem? It appears DotNet7 does not have WASM build tools in the SDK nor in Visual Studio 2022.
executing: dotnet workload install wasm-tools
fails with the error message "Workload ID wasm-tools is not recognized"
Anyone have a workaround for this? Is there some nuget package that needs to be installed?
Is AOT not supported in .net7 ?
I realize this thread is for .net6, but, after hours of hair pulling, and even reinstalling VS, I'm at wit's end trying to figure this out.

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

No branches or pull requests

3 participants