Description
Consider adding a note about .NET WebAssembly build tools compatibility and installation instructions for .NET 8 projects.
From Marek ...
The table is about SDK version and TFM
- .NET 10 SDK
- targeting .NET 10 requires wasm-tools
- targeting .NET 9 requires wasm-tools-net9
- targeting .NET 8 requires wasm-tools-net8
- .NET 9 SDK
- targeting .NET 9 requires wasm-tools
- targeting .NET 8 requires wasm-tools-net8
- .NET 8 SDK
- targeting .NET 8 requires wasm-tools
The workload always installs into the SDK. If you install wasm-tools workload into .NET 9 SDK, the .NET 10 SDK won't have it. You'll need to install it again. Although multiple rows contain wasm-tools-net8 workload, it fact it is always a slightly different workload for the particular .NET SDK.
If you install the workload using checkbox in Visual Studio setup, the VS installer know about the workload and when it installs newer .NET SDK, it will install the workload automatically.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/webassembly-build-tools-and-aot?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/webassembly-build-tools-and-aot.md
Document ID
bbbdf15e-1918-cee9-ff03-0ebbca80e86e
Platform Id
0a8e8b8e-2e88-684e-022e-56238545d038
Article author
@guardrex
Metadata
- ID: bbbdf15e-1918-cee9-ff03-0ebbca80e86e
- PlatformId: 0a8e8b8e-2e88-684e-022e-56238545d038
- Service: aspnet-core
- Sub-service: blazor
Related Issues
Description
Consider adding a note about .NET WebAssembly build tools compatibility and installation instructions for .NET 8 projects.
From Marek ...
The table is about SDK version and TFM
The workload always installs into the SDK. If you install wasm-tools workload into .NET 9 SDK, the .NET 10 SDK won't have it. You'll need to install it again. Although multiple rows contain wasm-tools-net8 workload, it fact it is always a slightly different workload for the particular .NET SDK.
If you install the workload using checkbox in Visual Studio setup, the VS installer know about the workload and when it installs newer .NET SDK, it will install the workload automatically.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/webassembly-build-tools-and-aot?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/webassembly-build-tools-and-aot.md
Document ID
bbbdf15e-1918-cee9-ff03-0ebbca80e86e
Platform Id
0a8e8b8e-2e88-684e-022e-56238545d038
Article author
@guardrex
Metadata
Related Issues