Fix mef attributes project path provider

This commit is contained in:
Ryan Nowak 2018-05-19 12:27:27 -07:00
parent 95d41507fc
commit a35ef53891
1 changed files with 4 additions and 5 deletions

View File

@ -2,15 +2,14 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.ComponentModel.Composition; using System.Composition;
using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Razor;
namespace Microsoft.VisualStudio.Editor.Razor namespace Microsoft.VisualStudio.Editor.Razor
{ {
[System.Composition.Shared] [Shared]
[ExportWorkspaceService(typeof(ProjectPathProvider), ServiceLayer.Default)] [ExportWorkspaceServiceFactory(typeof(ProjectPathProvider), ServiceLayer.Default)]
internal class DefaultProjectPathProviderFactory : IWorkspaceServiceFactory internal class DefaultProjectPathProviderFactory : IWorkspaceServiceFactory
{ {
private readonly TextBufferProjectService _projectService; private readonly TextBufferProjectService _projectService;