From e167088214d76a7c7efa89d84e78b30ffb3c6848 Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Fri, 25 Oct 2024 13:57:10 +1100 Subject: [PATCH] Fix compile error in main Two recent PRs merged and caused a simple build break, which is fixed here. - https://github.com/dotnet/project-system/pull/9561 - https://github.com/dotnet/project-system/pull/9552 --- .../ProjectSystem/VS/Setup/SetupComponentProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Setup/SetupComponentProvider.cs b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Setup/SetupComponentProvider.cs index 676b9810f0..051a7e78ee 100644 --- a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Setup/SetupComponentProvider.cs +++ b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Setup/SetupComponentProvider.cs @@ -20,7 +20,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.VS.Setup; /// [Export(ExportContractNames.Scopes.UnconfiguredProject, typeof(IProjectDynamicLoadComponent))] [AppliesTo(ProjectCapability.DotNet)] -[ExportInitialBuildRulesSubscriptions(SuggestedWorkload.SchemaName)] +[ExportInitialBuildRulesSubscriptions(SuggestedVisualStudioComponentId.SchemaName)] internal sealed class SetupComponentProvider : OnceInitializedOnceDisposedAsync, IProjectDynamicLoadComponent { private readonly UnconfiguredProject _unconfiguredProject;