最近遇到VS2013,在打開解決方案時,報如下錯誤:
“未找到與約束
ContractName Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollectionService
RequiredTypeIdentity Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollectionService 匹配的導出”
導致項目無法打開以及VS無法關閉。
解決方法:
1.關閉VS;
2.去C:/Users/<your users name>/AppData/Local/Microsoft/VisualStudio/12.0/ComponentModelCache文件夾下刪除所有文件及文件夾;
3.重新打開VS即可。
參考地址:http://stackoverflow.com/questions/17574089/microsoft-visual-studio-package-did-not-loaded