Closed TanayParikh closed 3 years ago
Probably belongs in dotnet/runtime
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
See #20930 which probably explains this behavior. Try a newer rc2 build and let us know if it's not resolved.
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.
Error:
Full Console Output:
Sources: