Registering lightinject with itself again due to mapper collection builder.
It now fails becuse it doesn't support last registered as default ootb when instantiating cachehelper. Castle fails on missing mapper collection builder when examine starts indexing.
This commit is contained in:
committed by
Lars-Erik Aabech
parent
6bb507037b
commit
51c4962477
@@ -20,6 +20,8 @@ namespace Umbraco.Core.Composing.LightInject
|
||||
protected LightInjectContainer(ServiceContainer container)
|
||||
{
|
||||
Container = container;
|
||||
|
||||
container.RegisterSingleton<IContainer>(_ => this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user