0

When I create a new website in visual studio 2012, I got this error...

No exports were found that match the constraint:

ContractName Microsoft.VisualStudio.Text.ITextDocumentFactoryService RequiredTypeIdentity Microsoft.VisualStudio.Text.ITextDocumentFactoryService

Please tell me how to fix this error???

  • https://stackoverflow.com/questions/17596543/error-message-no-exports-were-found-that-match-the-constraint-contract-name – Ramesh Kumar Dec 08 '17 at 06:12
  • https://stackoverflow.com/questions/17596543/error-message-no-exports-were-found-that-match-the-constraint-contract-name – Ramesh Kumar Dec 08 '17 at 06:13
  • https://stackoverflow.com/questions/17596543/error-message-no-exports-were-found-that-match-the-constraint-contract-name – Ramesh Kumar Dec 08 '17 at 06:15

1 Answers1

0

The fix is to rename or delete the ComponentModelCache in your local folder.

enter image description here

mr.hir
  • 533
  • 1
  • 7
  • 19
  • I tried it but I didn't found the folder %AppData% in my directory C:\Users\{UserName}....so please give me another solution... –  Dec 08 '17 at 04:47