Jac*_*k M 5 visual-studio-2012
我在尝试加载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)
有没有人遇到过这个错误?
删除这些HKEY_CURRENT_USER\Software\Microsoft\VSCommon下的所有条目
HKEY_CURRENTUSER\Software\Microsoft\VisualStudio _重新启动Visual Studio后,它运行了我的"第一次"进程,这意味着我的用户配置文件已完全重置.这解决了我的问题.
我也遇到了这个问题并花了一周时间来找出这个问题的解决方案...... :)
我之前也遇到过同样的错误。在 Visual Studio 中,尝试转到“工具”,然后选择“扩展和更新...”,然后检查是否需要任何更新。这对我有用。
另请查看MSDN 论坛之一上的该主题。问问题的人说他通过重新安装 VS 2012 Update 1 解决了这个问题。
归档时间: |
|
查看次数: |
3977 次 |
最近记录: |