VS 2012: No exports were found that match the constraint : ContractName
This morning, one of the fellow developers shared the issue.
He was getting the error below while opening any of the files:
And some other guys came up with the same thing.
I tried to find the root cause, was unable to do so.
I'll update this post if I find that.
However, there is good news.
I've got the solution:
He was getting the error below while opening any of the files:
And some other guys came up with the same thing.
I tried to find the root cause, was unable to do so.
I'll update this post if I find that.
However, there is good news.
I've got the solution:
Resolution steps are ;
-Close Visual Studio
- Go to the location
C:\Users\navdeep\AppData\Local\Microsoft\VisualStudio\11.0
(replace navdeep with your user id)
- Delete the folder ComponentModelCache.
- Start Visual Studio
It builds the component cache and the things are working again :-)
Thank you so much! I have fixed my problem.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletestill doesn't work
ReplyDeleteThanks! Worked like a charm!
ReplyDeleteThank you for save my day..
ReplyDeleteThanks All
ReplyDelete