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:

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  :-)

Comments

Post a Comment

Popular posts from this blog

How to Tweak the New Multi-Monitor Taskbar in Windows 8