RavenDB客户端lib升级后出现Nancy TinyIoC错误

时间:2014-03-05 21:28:44

标签: ravendb tinyioc nancy

我将RavenDB客户端库从2.5.2666升级到2.5.2851后出现此错误

Method 'DeleteByIndexAsync' in type 'Raven.Client.Embedded.EmbeddedAsyncServerClient' from assembly 'Raven.Client.Embedded, Version=2.5.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593' does not have an implementation.

似乎从堆栈跟踪线3065线上突破但我不确定原因:

Line 3064:                var concreteTypes = from type in types
Line 3065:                                    where type.IsClass() && (type.IsAbstract() == false) && (type != this.GetType() && (type.DeclaringType != this.GetType()) && (!type.IsGenericTypeDefinition()))
Line 3066:                                    select type;

TinyIoC设置为自动扫描所有依赖项:

    protected override void ConfigureApplicationContainer(TinyIoCContainer container)
    {
        base.ConfigureApplicationContainer(container);
        RavenDbConfiguration.ConfigureStore(container);
        AutoMapperConfiguration.Bootstrap(container);
    }

如果我拿出那行调用base然后应用程序再次开始工作,但是稍后我没有注册特定的依赖项,所以我宁愿让它继续自动扫描并且只是到底这个错误。

有什么想法吗?

0 个答案:

没有答案