VisualStudioWorkspace

Topics: APIs, C# Language Design, General
Jun 12, 2014 at 11:48 AM
I'm trying to use Roslyn to do a VSPackage.

I'm looking to get workspace.
I find topic about VisualStudioWorkspace (this topic : https://roslyn.codeplex.com/discussions/544885)

I wrote the same code, but get popup from VS..

"No exports were found that match the constraint:
ContractName
Microsoft.CodeAnalysis.Workspace
RequiredTypeIdentity
Microsoft.CodeAnalysis.Workspace"

I don't really understand why..
Developer
Jun 13, 2014 at 3:34 PM
It seems like you might be trying to import the Workspace type and not the VisualStudioWorkspace type.