Monday, May 20, 2024
0
rated 0 times [  1] [ 1]  / answers: 1 / hits: 10606  / 11 Years ago, mon, january 27, 2014, 12:00:00

I am using MS Visual Studio Professional 2012, Version: 11.0.51106.01. Since past few days realized that i am no more able to create a new project with template JavaScript. I was able to do this before. I am guessing this might have happened due to some system update.



Here is the error log when i try to create a new project:



no exports were found that match the constraint:ContractName
Microsoft.VisualStudio.Text.ITextDocumentFactoryService
RequiredTypeIdentity
Microsoft.VisualStudio.Text.ITextDocumentFactoryService



Please help me resolve this issue at the earliest as i have not been able to find much online.


More From » visual-studio-2012

 Answers
6

Check the link :



http://blogs.microsoft.co.il/shair/2013/09/29/visual-studio-2012-no-exports-were-found-that-match-the-constraint-contract-name/



This worked for me.




Remove ComponentModelCache folder content.
%AppData%..LocalMicrosoftVisualStudio11.0ComponentModelCache



[#48328] Saturday, January 25, 2014, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sageallenv

Total Points: 458
Total Questions: 102
Total Answers: 104

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;