1
是否有可能以某種方式使用VisualStudioWorkspace服務,在針對2010的Visual Studio版本的VsExtension(http://source.roslyn.codeplex.com/#Microsoft.VisualStudio.LanguageServices/Implementation/ProjectSystem/VisualStudioWorkspace.cs,e757fe6b8e91e765)羅斯林 - 使用VisualStudioWorkspace在Visual Studio 2010
我試圖導入使用MEF服務,如在描述? https://joshvarty.wordpress.com/2014/09/12/learn-roslyn-now-part-6-working-with-workspaces/,但這根本不起作用。
[Import(typeof(Microsoft.VisualStudio.LanguageServices.VisualStudioWorkspace))]
public VisualStudioWorkspace myWorkspace { get; set; }