2013-07-13 71 views
4

我在嘗試加載Visual Studio 2012時遇到此錯誤,遇到了異常。這可能是由擴展引起的,並且在附加信息C:\Users\~\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml和檢查我有以下的錯誤我不瞭解清楚它的位置:Microsoft.Internal.Assumes + InternalErrorException:發生內部錯誤

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,對象errorSource)

有沒有人遇到過這個錯誤?

回答

0

我已經看到通過安裝最新的更新到Visual Studio解決類似的問題。
請安裝最新的Update 3,看看是否可以解決您的問題。

3

我之前也有同樣的錯誤。在Visual Studio中,嘗試使用工具,然後擴展和更新...並檢查是否需要更新。這對我有效。

也檢查出這個線程在MSDN forums之一。這傢伙問這個問題,他說,通過重新安裝VS 2012更新1

+0

更新WebEssentials也爲我解決了它。 – archangel76

3

下這些 HKEY_CURRENT_USER \ SOFTWARE \微軟\ VSCommon
HKEY_CURRENTUSER \軟件\微軟\ VisualStudio中刪除所有條目 _ 在重新啓動解決了這個問題Visual Studio,它通過'第一次'流程運行我,這意味着我的用戶配置文件已完全重置。這解決了我的問題。

我也有這個問題,需要1個星期+找出這種解決方案的問題... :)

0

Visual Studio中的一個簡單的修復固定我的問題。

相關問題