No exports were found that match the constraint.
I have faced a strange issue while working on visual studio. Whatever file I what to open with the visual studio it gives me error:
No exports were found that match the constraint:ContractName
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
RequiredTypeIdentity
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
Solution: After hours of googling and trying different solutions. I have solved my issue by removing all the files from following visual studio ComponentModelCache folder:
C:\Users\{YourUserName}\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache