我只是NuGetted ServiceStack.Redis 3.1.3但它的依赖也变得ServiceStack.Common和ServiceStack.Text 3.1.6ServiceStack Redis的客户期待ServiceStack.Common
现在,当我构建应用程序的一切没问题。
但是,当我运行应用程序时,一些Redis客户端方法可以正确执行,但其中一些方法(RedisClient.GetAllKeys)给出抛出异常
Could not load file or assembly 'ServiceStack.Common, Version=1.0.4336.27526, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
然后我删除了所有DLL的和的NuGet packgage配置,并且明确地做了的NuGet ServiceStack.Common -Version 3.1.3,得到它。但后来当我试图NuGet ServiceStack.Redis -Version 3.1.3它自动删除了3.1.3版本的Common并下载了3.1.6版本!
Arrrghhh,我讨厌智能安装。
我该如何解决这个问题?
ServiceStack的发布者是否知道这个问题?