.NET workload wasm-tools
.NET wordload wasm-tools-net6
Visual Studio -> Tools -> Command Line -> Developer Command Prompt
C:\Users\xxxxx\source\repos>dotnet workload list
C:\Users\xxxxx\source\repos>dotnet workload install wasm-tools
C:\Users\xxxxx\source\repos>dotnet workload install wasm-tools-net6
Example:
********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.9.6 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** C:\Users\xxxxx\source\repos>dotnet workload list Installed Workload Id Manifest Version Installation Source --------------------------------------------------------------------- maui-windows 8.0.7/8.0.100 VS 17.9.34728.123 maccatalyst 17.2.8004/8.0.100 VS 17.9.34728.123 ios 17.2.8004/8.0.100 VS 17.9.34728.123 android 34.0.52/8.0.100 VS 17.9.34728.123 Use `dotnet workload search` to find additional workloads to install. C:\Users\xxxxx\source\repos>dotnet workload install wasm-tools Downloading microsoft.net.sdk.android.manifest-8.0.100.msi.x64 (34.0.95) Installing microsoft.net.sdk.android.manifest-8.0.100.msi.x64 .... Done Downloading microsoft.net.sdk.ios.manifest-8.0.100.msi.x64 (17.2.8053) Installing microsoft.net.sdk.ios.manifest-8.0.100.msi.x64 .... Done Downloading microsoft.net.sdk.maccatalyst.manifest-8.0.100.msi.x64 (17.2.8053) Installing microsoft.net.sdk.maccatalyst.manifest-8.0.100.msi.x64 .... Done Downloading microsoft.net.sdk.macos.manifest-8.0.100.msi.x64 (14.2.8053) Installing microsoft.net.sdk.macos.manifest-8.0.100.msi.x64 .... Done Downloading microsoft.net.sdk.tvos.manifest-8.0.100.msi.x64 (17.2.8053) Installing microsoft.net.sdk.tvos.manifest-8.0.100.msi.x64 .... Done Downloading microsoft.net.sdk.aspire.manifest-8.0.100.msi.x64 (8.0.0-preview.6.24214.1) Installing microsoft.net.sdk.aspire.manifest-8.0.100.msi.x64 .... Done Downloading Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 (8.0.4) Installing Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 ..... Done Downloading Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64 (8.0.4) Installing Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64 ....... Done Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64 (8.0.4) Installing Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64 .... Done Downloading Microsoft.NET.Runtime.MonoAOTCompiler.Task.Msi.x64 (8.0.4) Downloading Microsoft.NET.Runtime.MonoTargets.Sdk.Msi.x64 (8.0.4) Downloading Microsoft.NET.Runtime.Emscripten.3.1.34.Node.win-x64.Msi.x64 (8.0.4) Installing Microsoft.NET.Runtime.Emscripten.3.1.34.Node.win-x64.Msi.x64 ..... Done Downloading Microsoft.NET.Runtime.Emscripten.3.1.34.Python.win-x64.Msi.x64 (8.0.4) Installing Microsoft.NET.Runtime.Emscripten.3.1.34.Python.win-x64.Msi.x64 .......... Done Downloading Microsoft.NET.Runtime.Emscripten.3.1.34.Cache.win-x64.Msi.x64 (8.0.4) Installing Microsoft.NET.Runtime.Emscripten.3.1.34.Cache.win-x64.Msi.x64 ............. Done Downloading Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64.Msi.x64 (8.0.4) Installing Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64.Msi.x64 ................................... Done Successfully installed workload(s) wasm-tools. C:\Users\xxxxx\source\repos>dotnet workload install wasm-tools-net6 Downloading Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 (6.0.29) Installing Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 .... Done Downloading Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64 (6.0.29) Installing Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64 ...... Done Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64 (6.0.29) Installing Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64 ..... Done Downloading Microsoft.NET.Runtime.MonoAOTCompiler.Task.Msi.x64 (6.0.29) Downloading Microsoft.NET.Runtime.MonoTargets.Sdk.Msi.x64 (6.0.29) Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64 (6.0.29) Installing Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64 ...... Done Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Python.win-x64.Msi.x64 (6.0.29) Installing Microsoft.NET.Runtime.Emscripten.2.0.23.Python.win-x64.Msi.x64 ....... Done Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.win-x64.Msi.x64 (6.0.29) Installing Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.win-x64.Msi.x64 ................................................. Done Successfully installed workload(s) wasm-tools-net6 wasm-tools.
References:
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-install
Comments