修复 Visual Studio Error “No exports were found that match the constraint”

清空Visual Studio 文件缓存目录

Just delete or rename this folder:

%AppData%..LocalMicrosoftVisualStudio11.0ComponentModelCache

or

%AppData%..LocalMicrosoftVPDExpress11.0ComponentModelCache

For Visual Studio 2013, change the version number:

%AppData%..LocalMicrosoftVisualStudio12.0ComponentModelCache

For Visual Studio 2015, change the version number:

%AppData%..LocalMicrosoftVisualStudio14.0ComponentModelCache

重新启动VS

原文地址:https://www.cnblogs.com/w2011/p/5045680.html