我只是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的發佈者是否知道這個問題?