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

清空Visual Studio 文件缓存目录

Just delete or rename this folder:

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

or

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

For Visual Studio 2013, change the version number:

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

For Visual Studio 2015, change the version number:

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

重新启动VS

posted @ 2015-12-14 16:32  在 水 一 方  阅读(835)  评论(0编辑  收藏  举报