Error in Microsoft Visual Studio 2012 :No exports were found that match the constraint

I solved this problem by clearing the Visual Studio Component Model Cache.
Just delete or rename this folder:

%AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache

Or, for Visual Studio 2013:

%AppData%\..\Local\Microsoft\VisualStudio\12.0\ComponentModelCache

Leave a Comment

error code: 521