我在尝试加载 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)
有人遇到过这个错误吗?
删除这些下的所有条目
HKEY_CURRENT_USER\Software\Microsoft\VSCommon
HKEY_CURRENTUSER\Software\Microsoft\VisualStudio
_
重新启动 Visual Studio 后,它让我完成“第一次”过程,这意味着我的用户配置文件已完全重置。这解决了我的问题。
我也遇到了这个问题,花了 1 周多的时间才找到这个问题的解决方案......:)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)