vs未找到与约束的解决方法

来源:互联网 发布:童诗白和康华光 知乎 编辑:程序博客网 时间:2024/05/22 16:27

一、有时用VS打开项目时,会报下面类似错误

 

1、未找到与约束ContractName Microsoft.VisualStudio.Text.ITextDocumentFactoryService

2、未找到与约束

ContractName

Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollectionService


RequiredTypeIdentity

Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollectionService 匹配的导出

3、报错图片

 

 

 

二、解决方法

 

1.关闭VS;

2.去C:/Users/<your users name>/AppData/Local/Microsoft/VisualStudio/12.0/ComponentModelCache文件夹下删除所有文件及文件夹;

3.重新打开VS即可。

阅读全文
0 0
原创粉丝点击