今天早上我在打开Visual Studio解决方案时遇到了问题,当我尝试运行它时,它说:
未找到与约束合同名称匹配的导出
我该如何解决这个问题?
我正在尝试重置Visual Studio中的每个设置,因为我已经完全丢失了所有的IntelliSense.我尝试了工具 - >导入/导出设置 - >重置,但这并没有清除所有设置.我知道它不是因为颜色主题没有重置,我仍然没有IntelliSense.如果没有卸载和删除程序的每个跟踪(包括注册表),是否有另一种方法可以将每个设置重置为出厂默认设置?
我在尝试加载Visual Studio 2012时遇到了这个错误,遇到了异常.这可能是由扩展引起的,并且有一个位置可以获取更多信息 C:\Users\~\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml 以及检查我有以下位置的位置错误我明显不知道不明白:
Microsoft.Internal.Assumes+InternalErrorException: Internal error occurred.
Additional information: ''. at System.ComponentModel.Composition.Hosting.ImportEngine.InPrerequisiteLoop() at
System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part) at
System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports) at
System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImports(ComposablePart part) at
System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition) at
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart) at
System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore() at System.ComponentModel.Composition.Primitives.Export.get_Value() at
System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export) at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass4`2.<CreateStronglyTypedLazyOfTM>b__1() at System.Lazy`1.CreateValue() at
System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter,IContentType dataContentType, Object errorSource)
Run Code Online (Sandbox Code Playgroud)
有没有人遇到过这个错误?