Thursday, August 7, 2014

Visual studio error "No exports were found that match the constraint".

Error:

No exports were found that match the constraint:
ContractName.Microsoft.VisualStudio.Utilities.IContentTypeRegistryService.
RequiredTypeIdentiy.Microsoft.VisualStudio.Utilities.IContentTypeRegistryService.

Solution:

Delete the folder "ComponentModelCache" and restart the visual studio. The folder path is
C:\Users\{YourUserName}\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache

No comments: