From 34f31db14205e83a279fbd1680b4599f99a4df45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 20 Dec 2024 19:02:52 +0100 Subject: [PATCH] Add missing net8 workload manifest entries --- .../install/NetSdkMsiInstallerClient.InstallRecords.cs | 2 ++ src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Cli/dotnet/commands/dotnet-workload/install/NetSdkMsiInstallerClient.InstallRecords.cs b/src/Cli/dotnet/commands/dotnet-workload/install/NetSdkMsiInstallerClient.InstallRecords.cs index b8ed54fb38a6..91481783c88f 100644 --- a/src/Cli/dotnet/commands/dotnet-workload/install/NetSdkMsiInstallerClient.InstallRecords.cs +++ b/src/Cli/dotnet/commands/dotnet-workload/install/NetSdkMsiInstallerClient.InstallRecords.cs @@ -69,9 +69,11 @@ protected List GetWorkloadSetRecords() "Microsoft.NET.Workload.Emscripten.Current", "Microsoft.NET.Workload.Emscripten.net6", "Microsoft.NET.Workload.Emscripten.net7", + "Microsoft.NET.Workload.Emscripten.net8", "Microsoft.NET.Workload.Mono.ToolChain.Current", "Microsoft.NET.Workload.Mono.ToolChain.net6", "Microsoft.NET.Workload.Mono.ToolChain.net7", + "Microsoft.NET.Workload.Mono.ToolChain.net8", ]; private static readonly IReadOnlyDictionary ManifestIdCasing = CasedManifestIds.ToDictionary(id => id.ToLowerInvariant()).AsReadOnly(); diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs index f0a32830d6fa..5392d0d065d4 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs @@ -19,7 +19,7 @@ public class ShowMissingWorkloads : TaskBase { "android", "android-aot", "ios", "maccatalyst", "macos", "maui", "maui-android", "maui-desktop", "maui-ios", "maui-maccatalyst", "maui-mobile", "maui-windows", "tvos" }; private static readonly HashSet WasmWorkloadIds = new(StringComparer.OrdinalIgnoreCase) - { "wasm-tools", "wasm-tools-net6", "wasm-tools-net7" }; + { "wasm-tools", "wasm-tools-net6", "wasm-tools-net7", "wasm-tools-net8" }; public ITaskItem[] MissingWorkloadPacks { get; set; }