| File: GetWorkloadSetFeatureBand.cs | Web Access |
| Project: src\sdk\src\Tasks\sdk-tasks\sdk-tasks.csproj (sdk-tasks) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using Microsoft.NET.Sdk.WorkloadManifestReader; namespace Microsoft.DotNet.Build.Tasks { [MSBuildMultiThreadableTask] public class GetWorkloadSetFeatureBand : Task { [Required] public string WorkloadSetVersion { get; set; } [Output] public string WorkloadSetFeatureBand { get; set; } public override bool Execute() { WorkloadSetFeatureBand = SdkFeatureBand.FromWorkloadSetVersion(WorkloadSetVersion).ToString(); return true; } } }