This question is locked. New answers and comments are not allowed.
This only happens when I load a solution, and it happens when JustTrace is enabled or disabled
Current addons:
.NET Reflector
ANTS
DevExpress CodeRush
DevExpress Refactor Plus
DXCore
CodeCompare
It might be conflicting with one of these
Error:
---------------------------
---------------------------
Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type IOutliningManagerService, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?
-----------------------------------------------
At the time of the exception, the container was:
Resolving Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService,(none)
---> System.InvalidOperationException: The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?
at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
at BuildUp_Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
--- End of inner exception stack trace ---
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
at Microsoft.Practices.Composite.UnityExtensions.UnityServiceLocatorAdapter.DoGetInstance(Type serviceType, String key)
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
--- End of inner exception stack trace ---
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()
at #Vg.#Xg.#yy()
at #Vg.#Xg.#tk(ITextView textView)
at #Vg.#Xg.#Ay(ITextView textView)
at #Og.#Pg.#uy(#Qg args)
at #Og.#Pg.<.ctor>b__0(IEvent`1 args)
at System.Collections.Generic.AnonymousObserver`1.Next(T value)
at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
at System.Collections.Generic.AnonymousObservable`1.AutoDetachObserver.Next(T value)
at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
at System.Linq.Observable.<>c__DisplayClass512`1.<>c__DisplayClass514.<>c__DisplayClass516.<Throttle>b__50f()
at System.Concurrency.ThreadPoolScheduler.<>c__DisplayClass8.<Schedule>b__6(Object _)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
---------------------------
OK
---------------------------
Current addons:
.NET Reflector
ANTS
DevExpress CodeRush
DevExpress Refactor Plus
DXCore
CodeCompare
It might be conflicting with one of these
Error:
---------------------------
---------------------------
Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type IOutliningManagerService, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?
-----------------------------------------------
At the time of the exception, the container was:
Resolving Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService,(none)
---> System.InvalidOperationException: The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?
at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
at BuildUp_Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
--- End of inner exception stack trace ---
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
at Microsoft.Practices.Composite.UnityExtensions.UnityServiceLocatorAdapter.DoGetInstance(Type serviceType, String key)
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
--- End of inner exception stack trace ---
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()
at #Vg.#Xg.#yy()
at #Vg.#Xg.#tk(ITextView textView)
at #Vg.#Xg.#Ay(ITextView textView)
at #Og.#Pg.#uy(#Qg args)
at #Og.#Pg.<.ctor>b__0(IEvent`1 args)
at System.Collections.Generic.AnonymousObserver`1.Next(T value)
at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
at System.Collections.Generic.AnonymousObservable`1.AutoDetachObserver.Next(T value)
at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
at System.Linq.Observable.<>c__DisplayClass512`1.<>c__DisplayClass514.<>c__DisplayClass516.<Throttle>b__50f()
at System.Concurrency.ThreadPoolScheduler.<>c__DisplayClass8.<Schedule>b__6(Object _)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
---------------------------
OK
---------------------------