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

RavenDB客户端库升级后出现Nancy TinyIoC错误,ravendb,tinyioc,nancy,Ravendb,Tinyioc,Nancy,我在将RavenDB客户端libs从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 a

我在将RavenDB客户端libs从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的那一行去掉,那么应用程序会重新开始工作,但在我没有注册特定依赖项的情况下会掉下来,所以我宁愿让它继续自动扫描,直到这个错误的底部


有什么想法吗?

我觉得.NET framework版本有问题。如果尚未使用.net framework 4.5,是否可以使用?如果是,请确保您的包都是.net 45。我已通过清理项目的/bin目录修复了此类错误。