2013-02-21 30 views
0

當我啓動VS2012時,我總是得到一個異常,告訴我看看ActivityLog.xml。這是我所看到的 - 對我無用。希望以前有人看過這個。 此外 - VS2012在機器上佔用了100%的CPU時間。希望兩者相關並且可以修復。VS2012每次啓動時都會報錯。消息沒有幫助 - 有什麼建議嗎?

System.ComponentModel.Composition.CompositionException:構圖產生了單個構圖錯誤。根源在下面提供。 &#x000D;&#x000A;&#x000D;&#x000A; 1)當前類型SquaredInfinity.Foundation.Configuration.Services.IConfigurationService是一個接口,不能構造。 &#x000D;&#x000A;&#x000D;&#x000A;導致:依賴項的解析失敗,類型= " SquaredInfinity.Foundation.Configuration.Services.IConfigurationService ",name = "(無效) - 當前類型SquaredInfinity.Foundation.Configuration.Services.IConfigurationService是一個接口,並且當前類型爲SquaredInfinity.Foundation.Configuration.Services.IConfigurationService。不能構建。您是否缺少類型映射?&#x000D;&#x000A; ----------------------------------- ------------&#x000D;&#x000A;在發生異常時,容器是:&#x000D;&#x000A;&#x000D;&#x000A;解決SquaredInfinity.Foundation.Configuration.Services.IConfigurationService(無)&#x000D;&#x000A;&#x000D;&#x000A;&#x000D;&#x000A;導致:嘗試創建實例時發生異常&#x000D;&#x000A;&#x000D;&#x000A;導致:不能激活部分'#Btb。#Rtb '。&#x000D;&#x000A;元素:導致:無法導出' #Btb。#Rtb(ContractName = " Microsoft.VisualStudio.Text。分類:分類提供程序")'來自第'#Btb。#Rtb '。&#x000D;&#x000A;元素:#Btb。#Rtb(ContractName = " Microsoft.VisualStudio.Text.Classification.IClassifierProvider ") - >#Btb。#Rtb&#x000D;&#x000A;&#x000D;&#x000A;在System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine,ComposablePart part,ExportDefinition definition)&#x000D;&#x000A;在System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part,ExportDefinition export,Boolean isSharedPart)&#x000D;&#x000A;在System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()&#x000D;&#x000A;在System.ComponentModel.Composition.Primitives.Export.get_Value()&#x000D;&#x000A;在System.ComponentModel.Composition.ExportServices.GetCastedExportedValue [T](Export export)&#x000D;&#x000A;在System.ComponentModel.Composition.ExportServices。 < > c__DisplayClass4 2.&lt;CreateStronglyTypedLazyOfTM&gt;b__1()&#x000D;&#x000A; at System.Lazy 1.CreateValue()&#x000D;&#x000A;在System.Lazy 1.LazyInitValue()&#x000D;&#x000A; at System.Lazy 1.get_Value()&#x000D;&#x000A;在Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories [TExtensionInstance,TExtensionFactory,TMetadataView(IEnumerable的1 lazyFactories, Func 2吸氣,IContentType dataContentType,對象errorSource)

+0

禁用VSCommands加載項。聯繫SquaredInfinity尋求支持。 – 2013-02-21 18:21:43

回答

3

是您VSCommands擴展最新的嗎? 存在兼容性問題,可能會產生類似的堆棧跟蹤,並在latest release中修復。

+2

他們剛剛在大約一週前公佈了一項更新以解決同事問題。他們相當快地協助。 – StingyJack 2013-02-21 19:17:36

相關問題