Skip to content

Commit

Permalink
Ensure export exists alongside AppliesTo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Oct 17, 2024
1 parent 4d135c2 commit d012bf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.LanguageServices;
/// </remarks>
[Export(typeof(IWorkspaceWriter))]
[Export(ExportContractNames.Scopes.UnconfiguredProject, typeof(IProjectDynamicLoadComponent))]
[ExportInitialBuildRulesSubscriptions(CompilerCommandLineArgs.SchemaName)]
[AppliesTo(ProjectCapability.DotNetLanguageService)]
internal sealed class LanguageServiceHost : OnceInitializedOnceDisposedAsync, IProjectDynamicLoadComponent, IWorkspaceWriter
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.VisualStudio.ProjectSystem.LanguageServices;
/// keep such instances updated over time as project data changes.
/// </summary>
[Export(typeof(IWorkspaceFactory))]
[ExportInitialBuildRulesSubscriptions(CompilerCommandLineArgs.SchemaName)]
internal class WorkspaceFactory : IWorkspaceFactory
{
private readonly UnconfiguredProject _unconfiguredProject;
Expand Down

0 comments on commit d012bf9

Please sign in to comment.