Microsoft.Internal.Assumes+InternalErrorException:发生内部错误 [英] Microsoft.Internal.Assumes+InternalErrorException: Internal error occurred
问题描述
我在尝试加载 Visual Studio 2012 时遇到此错误,遇到异常.这可能是由扩展引起的,并在 C:\Users\~\AppData 中提供了附加信息的位置\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml
并在检查位置时出现以下错误,我显然不明白:
I have been encountering this error while trying to load Visual studio 2012, An exception has been encountered.This may be caused by an extension and was given a location for additional information in C:\Users\~\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml
and in checking the location I have the following as error I clearly don't understand it:
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)
有人遇到过这个错误吗?
has anyone ever encountered this error?
推荐答案
删除这些下的所有条目HKEY_CURRENT_USER\Software\Microsoft\VSCommon
HKEY_CURRENTUSER\Software\Microsoft\VisualStudio_重新启动 Visual Studio 后,它让我完成了第一次"流程,这意味着我的用户配置文件已完全重置.这解决了我的问题.
Remove all entries under these
HKEY_CURRENT_USER\Software\Microsoft\VSCommon
HKEY_CURRENTUSER\Software\Microsoft\VisualStudio
_
Upon restarting Visual Studio, it ran me through the 'first time' processes, which means my user profile was completely reset. That resolved my issues.
我也遇到了这个问题,花了 1 周以上的时间才找到解决问题的方法... :)
I too had this problem and took 1 week+ to find out this solution for the problem... :)
这篇关于Microsoft.Internal.Assumes+InternalErrorException:发生内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!