Last Friday, I faced a problem while opening my Visual Studio solution, and when I tried to open the solution file, error message that I got was:
No exports were found that match the constraint contract name
Solution - Select the appropriate folder as per your VS installation and delete all the files from the folder "ComponentModelCache" and then restart the Visual Studio.
For
Visual Studio 2012
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Visual Studio 2013
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
Visual Studio 2015
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
Hope it will help you.
No exports were found that match the constraint contract name
Solution - Select the appropriate folder as per your VS installation and delete all the files from the folder "ComponentModelCache" and then restart the Visual Studio.
For
Visual Studio 2012
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Visual Studio 2013
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
Visual Studio 2015
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
Hope it will help you.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.