当我启动 VS2012 时,我总是得到一个异常,告诉我查看 ActivityLog.xml。这就是我所看到的——对我来说毫无用处。希望其他人以前见过这个。此外 - VS2012 有时会占用机器上 100% 的 CPU。希望两者是相关的和可修复的。
System.ComponentModel.Composition.CompositionException:合成产生单个合成错误。下面提供了根本原因。查看 CompositionException.Errors 属性以获取更多详细信息。1)当前类型,SquaredInfinity.Foundation.Configuration.Services.IConfigurationService,是接口,无法构造。您是否缺少类型映射?导致:依赖项解析失败,type = "SquaredInfinity.Foundation.Configuration.Services.IConfigurationService",name = "(none)"。异常发生时:解决时。异常是: InvalidOperationException - 当前类型 SquaredInfinity.Foundation.Configuration.Services.IConfigurationService 是一个接口,无法构造。您是否缺少类型映射? - - - - - - - - - - - - - - - - - - - - - - - - 当时在异常中,容器是:正在解决 SquaredInfinity.Foundation.Configuration.Services.IConfigurationService,(none) 导致:尝试创建类型为“#Btb.#Rtb”的实例时发生异常。导致:无法激活部件“#Btb.#Rtb”。元素:#Btb.#Rtb --> #Btb.#Rtb 导致:无法从“#Btb.#”部分导出“#Btb.#Rtb (ContractName="Microsoft.VisualStudio.Text.Classification.IClassifierProvider")”室温'。元素:#Btb.#Rtb (ContractName="Microsoft.VisualStudio.Text.Classification.IClassifierProvider") --> #Btb.#Rtb at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine,
2.<CreateStronglyTypedLazyOfTM>b__1()
 at System.Lazy
1.CreateValue( ) 在 System.Lazy1.LazyInitValue()
 at System.Lazy
1.get_Value() 在 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable1 lazyFactories, Func
2 getter, IContentType dataContentType, Object errorSource)