我不知道我的Visual Studio 2013 Update 2会发生什么 .
当我打开我的项目时,它显示以下消息:
未找到与约束匹配的导出:ContractName Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollection.Service RequiredTypeIdentity Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollection.Service
我真的很困惑 . 我试过this solution,但它没有解决我的问题......
3 回答
在不知情的情况下帮助你是不可能的:
已安装扩展的完整列表,
确切的Visual Studio 2013版本,
确切的Windows版本,
一个简短的复制脚本 .
您可以在Visual Studio活动日志中看到关于根本原因的最重要线索 . 我建议启用Visual Studio并启用活动日志记录(devenv.exe /log),重现错误并检查日志 .
How to: Use the Activity Log,
Troubleshooting Extensions with the Activity Log .
我有同样的问题,所以我关闭Visual Studio 2013,重命名该文件夹
C:\用户\ {用户名} \应用程序数据\本地\微软\ VisualStudio的\ 12.0 \ ComponentModelCache
到ComponentModelCache-old,并重新启动Visual Studio,重建ComponentModelCache文件夹,所有文件都恢复正常 .
如果从Microsoft下载Visual Studio 2013,则会找到路径
C:\Users\{username}\AppData\Local\Microsoft\WDexpress\12.0\ComponentModelCache
.您应该删除文件
Microsoft.VisualStudio.Default.cache
.然后重新启动Visual Studio .